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
At the moment code of a single tick ` throws an unexpected token error but it should be an unterminated template literal error.
`
It errors at the this.expect(tt.dollarBraceL) check at
this.expect(tt.dollarBraceL)
acorn/src/expression.js
Lines 527 to 534 in a2f254a
It could be handled in parseTemplateElement() with a check before setting the .tail to throw the appropriate error or somewhere in readTmplToken.
parseTemplateElement()
.tail
readTmplToken
The text was updated successfully, but these errors were encountered:
22b22f3
Thanks @marijnh!
Sorry, something went wrong.
No branches or pull requests
At the moment code of a single tick
`
throws an unexpected token error but it should be an unterminated template literal error.It errors at the
this.expect(tt.dollarBraceL)
check atacorn/src/expression.js
Lines 527 to 534 in a2f254a
It could be handled in
parseTemplateElement()
with a check before setting the.tail
to throw the appropriate error or somewhere inreadTmplToken
.The text was updated successfully, but these errors were encountered: