Skip to content

Allow end-of-line comments #162

Closed
Closed
@avh4

Description

A -- comment at the end of a line should be attached to the preceding token instead of to the subsequent token.

  • after record fields in types
  • after record fields in expressions
  • after values in list expressions
  • after values in tuple expressions
  • after entries in tuple types
  • union type definitions
  • after record fields in record updates
  • after record fields in record extension types
  • in function types
  • in binary operator expressions
  • in cons patterns
  • ? tag arguments in types (Tag --z\n a --x\n b --y\n)
  • ? case branches
  • ? if/else branchs
  • ? let definitions
  • ? top-level definitions

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions