600ae734cf
Also fixes a bug in the for-in-range optimiser. I hope to remove break and continue byte codes in the future and just use jump (if possible).
14 lines
176 B
Python
14 lines
176 B
Python
while True:
|
|
break
|
|
|
|
for i in range(4):
|
|
print('one', i)
|
|
if i > 2:
|
|
break
|
|
print('two', i)
|
|
|
|
for i in [1, 2, 3, 4]:
|
|
if i == 3:
|
|
break
|
|
print(i)
|