Closed
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 {}