Skip to content

Commit

Permalink
Fix deprecated nf_evars* function call
Browse files Browse the repository at this point in the history
  • Loading branch information
mattam82 committed Sep 23, 2024
1 parent a1dcab0 commit 2f59005
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/equations_common.ml
Original file line number Diff line number Diff line change
Expand Up @@ -222,13 +222,14 @@ let e_type_of env evd t =
evd := evm; t

let collapse_term_qualities uctx c =
let nf_evar _ = None in
let nf_qvar q = match UState.nf_qvar uctx q with
| QConstant _ as q -> q
| QVar q -> (* hack *) QConstant QType
in
let nf_univ _ = None in
UnivSubst.nf_evars_and_universes_opt_subst nf_evar nf_qvar nf_univ c
let rec self () c =
UnivSubst.map_universes_opt_subst_with_binders ignore self nf_qvar nf_univ () c
in self () c

let make_definition ?opaque ?(poly=false) evm ?types b =
let env = Global.env () in
Expand Down

0 comments on commit 2f59005

Please # to comment.