Skip to content

[JavaScript] optional chaining operator breaks highlight #6255

@tophf

Description

@tophf

I see it's added to the next CodeMirror but what about 5.xx?

Currently, using ?. will break highlighting in seemingly unpredictable ways as seen in the official demo when adding ?.test after context in line 13:

gif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions