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

"var in object" check breaks highlighting when var is named "type" #823

Closed
pushkine opened this issue May 9, 2020 · 1 comment
Closed

Comments

@pushkine
Copy link

pushkine commented May 9, 2020

1.45.0

function test(type, obj) {
	return type in obj && 'broken';
}

Code_2020-05-09_11-12-19

@mjbvz mjbvz transferred this issue from microsoft/vscode May 11, 2020
@mjbvz mjbvz removed their assignment May 11, 2020
@mjbvz
Copy link
Contributor

mjbvz commented May 11, 2020

Happens in the latest grammar in my testing

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

2 participants