-
Notifications
You must be signed in to change notification settings - Fork 446
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
let foo: [Int] []
Description
This currently produces the following. We should be suggesting to add a =
if a variable declaration is followed by an expression on the same line without a =
in between.
1 │ let foo: [Int] []
│ ╰─ error: consecutive statements on a line must be separated by ';'
rdar://108623515
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