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

Adapt to Coq PR #19404: an algebra of types for the instances of notation variables #673

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/coq_elpi_builtins.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3194,7 +3194,7 @@ Supported attributes:
{ nenv with Notation_term.ninterp_var_type =
Id.Map.add id (Notation_term.NtnInternTypeAny None)
nenv.Notation_term.ninterp_var_type },
(id, ((Notation_ops.constr_some_level,([],[])),Id.Set.empty,Notation_term.NtnTypeConstr)) :: vars in
(id, Notation_term.(NtnTypeVar (((Notation_ops.constr_some_level,([],[])),Id.Set.empty),NtnTypeVarConstr NtnConstrForConstrAndPatternForPattern))) :: vars in
let env = EConstr.push_rel (Context.Rel.Declaration.LocalAssum(name,ty)) env in
aux vars nenv env (n-1) t
| _ ->
Expand All @@ -3205,7 +3205,7 @@ Supported attributes:
let nenv =
{
Notation_term.ninterp_var_type = Id.Map.empty;
ninterp_rec_vars = Id.Map.empty;
ninterp_raw_types = [];
} in
aux vars nenv env nargs term
in
Expand Down
Loading