Skip to content

Grammar defines trailing whitespace as part of lambda case statement #74

Closed
@wenkokke

Description

@wenkokke

The exp_lambda_case node associated with the first definition includes the trailing white space:

Screenshot 2022-03-07 at 15 47 50

This results, for example, in incorrect deletions when operating based off the AST, with a deletion of the lambda case expression resulting in:

Screenshot 2022-03-07 at 15 50 06

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions