Skip to content

Comments in switch body cause parse error #406

Description

@s-ol

minimal example:

switch 'test'
  when 1 then 2
  -- this comment breaks the next line
  when 3 then 4
test.moon	Failed to parse:
 [4] >>    when 3 then 4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions