mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-23 08:30:39 +00:00
correct scope wackiness in for loops
This commit is contained in:
1 parent
ad5823055d
commit
122fbd841c
2 files changed
+6
-1
No files matched your search
@@ -22,6 +22,10 @@ for(num i = 0; i < 5; i = i + 1) {
|
||||
test("i = " + i, iterator);
|
||||
}
|
||||
|
||||
for(num i = 0; i < 5; i = i + 1) {
|
||||
test("i = " + i, iterator);
|
||||
}
|
||||
|
||||
for(num j = 0; j < 5; j = j + 1) test("single statement j = " + j, iterator);
|
||||
|
||||
if(4 + 2 == 2 + 4) {
|
||||
|
||||
Reference in new issue
Block a user