-
Notifications
You must be signed in to change notification settings - Fork 53
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
Anomaly "in retype: Not an arity" when coercing from a structure to sig #532
Comments
Please pass -bt to coqc and post the trace |
Here it is:
|
Looks like a regression on the coq side, the catching anomaly thing in e 8.18.1 milestone. Could you do a cherry pick and test it. |
It did not change anything. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the following script, I have an element
T
of some structureS
and I try to coerce an elementx
ofT
into@sig T P
. The coercion search fails and asks coq-elpi to find a solution. elpi triggers unification betweensort T
and@sig ?e0 ?e2
and Coq raises an exception.The code:
The debugging and error messages:
According to (coq/coq#18252 (comment)), it looks like the error comes from coq-elpi adding evars
?e
and?e1
with?e0 : ?e
and?e2 : ?e1
but not adding?e := Type
and?e2 := Type
.The text was updated successfully, but these errors were encountered: