aboutsummaryrefslogtreecommitdiff
path: root/tests/basics/for3.py
AgeCommit message (Collapse)Author
2014-12-12py: Fix optimised for-loop compiler so it follows proper semantics.Damien George
You can now assign to the range end variable and the for-loop still works correctly. This fully addresses issue #565. Also fixed a bug with the stack not being fully popped when breaking out of an optimised for-loop (and it's actually impossible to write a test for this case!).
2014-12-11tests: Add test for semantics of for-loop that optimisation can break.Damien George