Closed jbress closed 2 years ago
Thanks for the report, will take a look
Great. Thanks for this project btw
Note that I could only reproduce the problem when combining if-not with for-loop.
Meanwhile, is there any setting/workaround to "disable" the removal of the parentheses ?
Fixed in 1.17.11
Thank you !
Hello,
This
if (!(yield isOk(p * n))) { ... }
Becomes this
if (!yield t(n * r)) { ... }
which is not valid (throws "Unexpected identifier" error)
Expecting
if (!(yield t(n * r))) { ... }
The input javascript code is transpiled via TypeScript 4.3 with ES2015 target (Visual Studio 2019) Full code attached 1 input.js.txt 2 output actual.js.txt 3 output expected.js.txt source.ts.txt