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

Excluding some fixpoint reductions in typechecker #2881

Merged
merged 2 commits into from
Apr 12, 2023
Merged

Conversation

mtzguido
Copy link
Member

I looked into this to fix #2876. While trying this patch, I remembered previous discussions that we cannot in general prevent infinite loops during typechecking, and was expecting this to fail.. but I got an everest green with it, and the problem in the bug report is gone (the assertion fails to encode due to the inner let rec, but doesn't crash).

Given that all of our code works with this patch... should we take it?

@aseemr aseemr merged commit f76ee5b into master Apr 12, 2023
@aseemr aseemr deleted the _guido_zeta branch April 12, 2023 04:13
@aseemr
Copy link
Collaborator

aseemr commented Apr 12, 2023

This looked good to me Guido, thanks!

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.

Stack overflow on equality between recursive functions
2 participants