Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect highlighting of division + comment as a regular expression #787

Closed
mjbvz opened this issue Nov 7, 2019 · 0 comments
Closed

Incorrect highlighting of division + comment as a regular expression #787

mjbvz opened this issue Nov 7, 2019 · 0 comments

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Nov 7, 2019

From microsoft/vscode#84034

TS and JS Grammar Extension version: latest

Code

console.log("4" / "2"); // 2

Bug
The parts between the /s are considered a regular expression

Screen Shot 2019-11-06 at 8 02 03 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant