Skip to content

Comment after switch statement not scoped #666

@mjbvz

Description

@mjbvz

From microsoft/vscode#58810

TS and JS Grammar Extension version: 0.0.45 / latest

Code

switch (0) // discard and renew state per mode
{
}

The comment is currently scoped as switch-statement.expr.tsx instead of as a comment

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