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

Fix highlight of nullish coalescing operator in JS #1846

Merged

Conversation

tancnle
Copy link
Collaborator

@tancnle tancnle commented Jun 30, 2022

Fix highlight of nullish coalescing operator in JS. Before this change, this operator was picked up as the start of a ternary statement and caused issues for the subsequent string.

Before After
Screen Shot 2022-06-30 at 7 14 58 pm Screen Shot 2022-06-30 at 7 11 23 pm

Fixes #1834

@tancnle
Copy link
Collaborator Author

tancnle commented Jun 30, 2022

👋🏼 @legacy3 could you kindly review this PR and see if it addresses the reported issue? 🙏🏼

@tancnle tancnle merged commit b8e146f into rouge-ruby:master Jul 4, 2022
@tancnle tancnle deleted the bugfix.js-nullish-coalescing-operator branch July 4, 2022 11:44
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

Successfully merging this pull request may close these issues.

Bug in JavaScript lexer
1 participant