Double var declaration in 2.0.0-beta8 generated JS
app opened this issue · comments
Andrey Paskal commented
Example to verify
Bosh = 1
Bosh = if Bosh then Bosh else {}
2.0.0-beta8 generates
var Bosh, Bosh;
Bosh = 1;
Bosh = Bosh ? Bosh : {};
:sweat: rewrite of the CoffeeScript compiler with proper compiler design principles and a focus on robustness and extensibility
app opened this issue · comments
Example to verify
Bosh = 1
Bosh = if Bosh then Bosh else {}
2.0.0-beta8 generates
var Bosh, Bosh;
Bosh = 1;
Bosh = Bosh ? Bosh : {};