Skip to content

SML lexer has some strange mis-highlights when using symbol idents #2311

Description

@jneen
val x = fn y => z
val $ = fn y => z

The first fn is highlighted as Keyword::Reserved, while the second is Name::Variable. Will need to review SML syntax to fix properly - I wrote this lexer myself in 2013 and it contains some very bad decisions in hindsight.

https://rouge.jneen.ca/v5.0.0/sml/dmFsIHggPSBmbiB5ID0-IHoKdmFsICQgPSBmbiB5ID0-IHo

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfix-requestA request for a bugfix to be developed.

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions