Closed alexnask closed 8 years ago
Cool stuff! :+1: (was there already a test for the fixed bug?)
@vendethiel
See the last two commits (test/compiler/control/foreach-range-generated.ooc)
This is basically the most complex case (side-effects, index variable) :)
Closes #951
Also, sneakily fix the indexing in range for loops (the backend generated wrong code)