Skip to content

Grammar does not support nested field access in guardsΒ #128

@GearsDatapacks

Description

@GearsDatapacks

The following Gleam code is valid:

case something {
  True if record.field.thing -> 1
  False if record.field.other_thing -> 0
}

However it is not recognised by the grammar and causes syntax highlighting to fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions