Skip to content

Missing diagnostic for expressions on the same line in closures, switches, and get accessors #1452

@hamishknight

Description

@hamishknight

Issue Kind

Other

Source Code

let x = {a b c}
var i: Int {a b c}
switch x { case y: a b c }

Description

These cases should produce diagnostics that multiple expressions cannot appear on the same line, but don't.

Metadata

Metadata

Assignees

Labels

SwiftParserBugs in the (new) Parser written in SwiftbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions