Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interpreter : investiguate a potential bug when skipping a loop #13

Open
2 tasks
marcofiset opened this issue Mar 7, 2013 · 0 comments
Open
2 tasks
Labels

Comments

@marcofiset
Copy link
Owner

There is a potential bug in this condition when jumping to the end of a loop:

} while (loopIndexes.Count > 0);

It should rather be :

} while (loopIndexes.Count > currentLoopCount);

  • Implement a test to reproduce the bug.
  • Fix it!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant