Skip to content

Syntax highlighting is incorrect after /**/ #6493

@twanvl

Description

@twanvl

An empty block comment causes the VS code syntax highlighting for all normal tokens after it to look like a comment

For example

const looks_ok:u32 = (1);
/**/
const looks_bad:u32 = (1);

It sees to only occur with exactly /**/, putting anything inside the comment doesn't cause this issue.

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