harlan icon indicating copy to clipboard operation
harlan copied to clipboard

while loops do not re-evaluate test for side effects

Open eholk opened this issue 9 years ago • 0 comments

If a while loop relies on side effects in the test it will never terminate. This is because Harlan assumes expressions are pure and lifts it out.

We should probably just remove while loops.

eholk avatar Apr 28 '15 20:04 eholk