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

Fix infinite rule when printing loop #1826

Merged
merged 1 commit into from
Feb 11, 2019

Conversation

rgrinberg
Copy link
Member

Check the map for rules that we've iterated before already. Fix #1825

I'm not sure where the cycle is coming from, but this PR fixes it.

@rgrinberg rgrinberg requested a review from a user February 11, 2019 17:13
@rgrinberg rgrinberg requested a review from emillon as a code owner February 11, 2019 17:13
Check the map for rules that we've iterated before already

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
@rgrinberg rgrinberg force-pushed the fix-print-rules-loop branch from 94157da to 4c09489 Compare February 11, 2019 17:49
@rgrinberg rgrinberg merged commit a870484 into ocaml:master Feb 11, 2019
@rgrinberg rgrinberg deleted the fix-print-rules-loop branch February 11, 2019 17:56
@ghost ghost mentioned this pull request Feb 13, 2019
@rgrinberg rgrinberg restored the fix-print-rules-loop branch April 20, 2019 05:47
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

Successfully merging this pull request may close these issues.

Infinite loop when generating rules
1 participant