-
assigned issue to
Loop with single statement should generates to while loop
Issue #287
resolved
If a loop combined fragment is defined with just true
or another single statement, the code generator still generates a for loop, which results in a compile error.
In that case, a while loop should be generated.
Comments (5)
-
-
References
#287: if loop has single statement, it generates while loop. Also, it can generate for loop with syntaxe : for(;;) and for(:)→ <<cset 0e2326c6efb1>>
-
References
#287: add a regex to recognize 'for loop' syntaxe→ <<cset 5b73a24d989e>>
-
Merged in Issues/284-duplicate-methods-and-constructors-in-classes (pull request #27)
References
#287: if loop has single statement, it generates while loop. Also, it can generate for loop with syntaxe : for(;;) and for(:)→ <<cset cd95d38e8378>>
-
- changed status to resolved
- Log in to comment