Closed
Description
Until version 1.12.5 the code foo bar if baz
transpiled to if(baz){foo(bar)}
since 1.12.6 this code transpiles to foo(baz ? bar: void 0)
which breaks old code.
But when i use mood = greatlyImproved if singing
(from docs) it compiles to if (singing) {mood = greatlyImproved;}
Is this indented? Maybe by 'Bugfixes for incorrect code generated by the ? operator within a termary if statement`? I cant find any Bug report for that.
bg,
Johannes