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/coq#19620 (Global.push_context_set no strict argument) #160

Merged
merged 2 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion src/Rewriter/Util/plugins/inductive_from_elim.ml.v819
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ let make_inductive_from_elim sigma (name : Names.Id.t option) (elim_ty : EConstr
let univs, ubinders = Evd.check_univ_decl ~poly:false sigma UState.default_univ_decl in
let uctx = match univs with
| UState.Monomorphic_entry ctx ->
let () = Global.push_context_set ~strict:true ctx in
let () = Global.push_context_set ctx in
JasonGross marked this conversation as resolved.
Show resolved Hide resolved
Entries.Monomorphic_ind_entry
| UState.Polymorphic_entry uctx -> Entries.Polymorphic_ind_entry uctx
in
Expand Down
2 changes: 1 addition & 1 deletion src/Rewriter/Util/plugins/inductive_from_elim.ml.v820
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ let make_inductive_from_elim sigma (name : Names.Id.t option) (elim_ty : EConstr
let univs, ubinders = Evd.check_univ_decl ~poly:false sigma UState.default_univ_decl in
let uctx = match univs with
| UState.Monomorphic_entry ctx ->
let () = Global.push_context_set ~strict:true ctx in
let () = Global.push_context_set ctx in
JasonGross marked this conversation as resolved.
Show resolved Hide resolved
Entries.Monomorphic_ind_entry
| UState.Polymorphic_entry uctx -> Entries.Polymorphic_ind_entry uctx
in
Expand Down
2 changes: 1 addition & 1 deletion src/Rewriter/Util/plugins/inductive_from_elim.ml.v821
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ let make_inductive_from_elim sigma (name : Names.Id.t option) (elim_ty : EConstr
let univs, ubinders = Evd.check_univ_decl ~poly:false sigma UState.default_univ_decl in
let uctx = match univs with
| UState.Monomorphic_entry ctx ->
let () = Global.push_context_set ~strict:true ctx in
let () = Global.push_context_set ctx in
Entries.Monomorphic_ind_entry
| UState.Polymorphic_entry uctx -> Entries.Polymorphic_ind_entry uctx
in
Expand Down
Loading