You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug is even present without opening a module. Actually, it is just that a polymorphic record declaration through Coq-Elpi does not export the fields.
Elpi Query lp:{{
@univpoly! =>
coq.env.add-indt (record "R" {{ Type }} "BuildR" (field [] "a" {{ Type }} (a\ end-record))) _.
}}.
FailCheck a.
I guess the field (the projection) is not generated for some bug. The projection is a regular constant synthesized by coq, I guess it does not typecheck because of the bug....
I try to declare the following record with Coq-Elpi in a module
Test
:The
Print
command gives this:and the
Check
succeeds.Now uncomment the option to make the record polymorphic and boom:
The field
f
is not exported and theCheck
now fails.cc @CohenCyril
The text was updated successfully, but these errors were encountered: