michaelficarra / CoffeeScriptRedux

:sweat: rewrite of the CoffeeScript compiler with proper compiler design principles and a focus on robustness and extensibility

Home Page:https://michaelficarra.github.com/CoffeeScriptRedux/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Double var declaration in 2.0.0-beta8 generated JS

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 : {};