Skip to content

Give helpful error message (and auto-fix in formatter) when using = in record literals #4140

@rtfeldman

Description

@rtfeldman

When using = instead of : in record literals (including record updates), we should do both of these:

  • Give a helpful error message
  • Have the formatter automatically change it to a :

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestformattingRelates to the roc formatterparsingRelates to the Parsing compiler stage

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions