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
CallExpression
This one
`${a}|${// 1 b}`
and
`${a}|${// 1 b()}`
The second one b() has wrong location
b()
require("meriyah").parse('`${a}|${// 1\nb}`', {loc: true,ranges:true}).body[0].expression.expressions[1] { type: 'Identifier', name: 'b', start: 13, end: 14, range: [ 13, 14 ], loc: { start: { line: 2, column: 0 }, end: { line: 2, column: 1 } } }
require("meriyah").parse('`${a}|${// 1\nb()}`', {loc: true,ranges:true}).body[0].expression.expressions[1] { type: 'CallExpression', callee: { type: 'Identifier', name: 'b', start: 13, end: 14, range: [ 13, 14 ], loc: { start: [Object], end: [Object] } }, arguments: [], start: 4, end: 16, range: [ 4, 16 ], loc: { start: { line: 1, column: 4 }, end: { line: 2, column: 3 } } }
The loc.start should be the same.
loc.start
The text was updated successfully, but these errors were encountered:
aa0e992
Released all latest code in v3.1.0
Sorry, something went wrong.
No branches or pull requests
This one
and
The second one
b()
has wrong locationThe
loc.start
should be the same.The text was updated successfully, but these errors were encountered: