rainforestapp / decaf

Coffeescript to ES.next transpiler. Now maintained over at
https://github.com/juliankrispel/decaf
MIT License
106 stars 10 forks source link

Fix for loop edgecases #99

Closed bouk closed 8 years ago

bouk commented 8 years ago

@juliankrispel this PR fixes a lot of for loop cases, look at the tests for more info. It also fixes a bug where forInStatement was used where forOfStatement should have been used.

There's now also no more fallback in mapForExpression :tada:

juliankrispel commented 8 years ago

@bouk sweet! Will look at this asap

juliankrispel commented 8 years ago

thanks dude, sorry for the delay I'm at my companies onsite and there's a lot going on :)