Skip to content

Parsing of closure parameter list without parameter name fails #2331

@ahoppen

Description

@ahoppen

Issue Kind

Parse of Valid Source Failed

Source Code

func test(_: ([Int]) -> Void) {}
test { ([Int]) in }

Description

The above code is valid in the old parser but not in SwiftParser.

Metadata

Metadata

Assignees

No one assigned

    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