Skip to content

KeyPath with space produces a diagnostic #888

Description

@jpsim

Issue Kind

Parse of Valid Source Produced Invalid Syntax Tree

Source Code

_ = distinctUntilChanged(\ .?.status)

Description

The \ .?.status keypath should be parsed as a keypath, just like \.?.status would be.

Currently producing a diagnostic with 4f2e153:

unexpected text '.?.status' in function call

Metadata

Metadata

Assignees

No one assigned

    Labels

    SwiftParserBugs in the (new) Parser written in Swift

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions