- Notifications
You must be signed in to change notification settings - Fork 460
Closed
Labels
SwiftParserBugs in the (new) Parser written in SwiftBugs in the (new) Parser written in SwiftbugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Issue Kind
Bad Diagnostic Produced
Source Code
func foo() -> throws(MyError) Int {}
Description
Applying the Fix-It for the parser diagnostics here produces malformed code, because the thrown error type gets lost. The "fixed" code is:
func foo() throws -> (MyError) Int {}
It should be
func foo() throws(MyError) -> Int {}
Metadata
Metadata
Assignees
Labels
SwiftParserBugs in the (new) Parser written in SwiftBugs in the (new) Parser written in SwiftbugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers