Skip to content

Inconsistent coloring of default in exports #569

@mjbvz

Description

@mjbvz

TS and JS Grammar Extension version: 0.0.22 / latest

From microsoft/vscode#43021

Code

export { default as x } 
export { x as default } 

The default keyword has different coloring in these cases:

screen shot 2018-02-06 at 6 49 19 am

In the first, it is a keyword. In the second, it is scoped just as a variable

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