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

[JavaScript] Fixed bug with tagged template literals. #1612

Merged

Conversation

Thom1729
Copy link
Collaborator

Tagged template literals were handled specially when the tag was an identifier, but the general case was broken (it caused the expression to end early). The general case has been fixed and the special case eliminated.

    1``
    /a/;
//  ^^^ - string
//  ^ keyword.operator.arithmetic
//    ^ keyword.operator.arithmetic

Part of #1600.

@wbond wbond merged commit 3fea903 into sublimehq:master Jun 18, 2018
@Thom1729 Thom1729 deleted the javascript-fix-tagged-template-literals branch June 18, 2018 18:09
charlievieth pushed a commit to charlievieth/Packages that referenced this pull request Jul 25, 2018
deathaxe pushed a commit to deathaxe/sublime-packages that referenced this pull request Jun 9, 2019
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.

2 participants