We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
function fn(a) { return a ? a*a : 0 }
The last a is highlighted as if it was a property key in an object literal.
a
The text was updated successfully, but these errors were encountered:
Yeah - sorry, this is a bad one. With regexs you can't distinguish between object literals and blocks. So there are weird edge cases like this.
Sorry, something went wrong.
Add test for #256
2a58456
Just added a test for this to catch it in the re-write. See "re-rewrite babel-sublime" #293.
No branches or pull requests
The last
a
is highlighted as if it was a property key in an object literal.The text was updated successfully, but these errors were encountered: