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
const assert = require('assert') let o = { f() { assert.ok(this !== o); } }; console.log('----'); (1, o.f)(); (1, o.f)``; console.log('----'); (true && o.f)(); (true && o.f)``; console.log('----'); (true ? o.f : false)(); (true ? o.f : false)``;
// project/index.ts var o = { f() { assert.ok(this !== o); } }; console.log("----"); (1, o.f)(); (1, o.f)``; console.log("----"); (0, o.f)(); o.f``; console.log("----"); (true ? o.f : false)(); (true ? o.f : false)``;
(true && o.f)``; is simplify to o.f`` , which causes this pointing to a wrong object.
The text was updated successfully, but these errors were encountered:
0d8ec0a
rollup@function@sequence-expressions-template-tag
No branches or pull requests
input
output
problem
(true && o.f)``; is simplify to o.f`` , which causes this pointing to a wrong object.
Playground link
The text was updated successfully, but these errors were encountered: