-
Notifications
You must be signed in to change notification settings - Fork 56
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
Termination checking doesn't work with local lets #3147
Comments
desugars to
|
Yes, termination fails also when explicitly desugared. Typechecking:
gives:
|
Even this fails:
So the problem is, weirdly, with the |
I think this is the problem: -- NOTE that we forget about the arguments of the hosting function
scanLetClause :: (Members '[State CallMap] r) => LetClause -> Sem r () |
lukaszcz
changed the title
Record creation syntax confuses termination checking
Termination checking doesn't work with local lets
Nov 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Typechecking
gives the error
But the following type-checks:
Termination checking needs to be adapted to deal with record creation/update syntax (or whatever it is desugared to in Internal).
The text was updated successfully, but these errors were encountered: