-
Notifications
You must be signed in to change notification settings - Fork 364
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
Agda 2.6.4 RC2 type checking error #6856
Comments
This modification type checks in Agda 2.6.4 RC2.
So it seems to be a type inference problem. But instead of giving unsolved constraints it is giving an error as discussed in the previous comment (and Agda 2.6.3 can solve the constraints and doesn't give an error). |
I "fixed" |
Bisection run v2.6.3 - master reports: Succeeds at:
Internal error at:
This bisect run only found the point where the result went from "good" to "internal error". |
Looks like the OP went from accepted to rejected somewhere invisible due to a cover of "internal error" introduced by 536b73f. |
Turning on agda/src/full/Agda/TypeChecking/Rules/Def.hs Line 754 in 86fce9a
Maybe this points to a violated invariant? |
I did a manual bisect now, patching away the
|
Here's my idea of what is going on during the type checking of the
To fix this problem, it seems like we should instead block the checking of the |
The following type checks in Agda 2.6.3.
In Agda 2.6.4 RC2 it gives the following error:
If you make the
refl
s into holes, the definition type checks with no unsolved constraints.If you replace the last four lines by
then this again type checks, and you can fill the holes with
refl
. But then this doesn't type check afterctrl-c-ctrl-l
.In practice, this occurs in line 121 of
TypeTopology/source/Circle/Integers-SymmetricInduction.lagda
. The above is an abridged version.The text was updated successfully, but these errors were encountered: