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

Infinite loop on silly cover-declarations #5

Closed
showstopper opened this issue Apr 10, 2010 · 2 comments
Closed

Infinite loop on silly cover-declarations #5

showstopper opened this issue Apr 10, 2010 · 2 comments

Comments

@showstopper
Copy link
Member

http://npaste.de/PS/
causes rock to run in an infinite loop. An error should be thrown instead because the code is wrong.

@nddrylliog
Copy link
Member

Once all fromTypes and stuff are resolved, there should be a 'check' pass where rock iterates tries to get the ground type, but with a stack, checking if a type already occured in the stack - if yes, the declaration is circular and an error oughta be thrown.

@nddrylliog
Copy link
Member

Detect loops in cover declarations. Closed by ab68439

alexnask pushed a commit to alexnask/rock that referenced this issue Mar 10, 2016
Stuff from Fredrik's 1.0.13 release
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants