From 5bf063c15468bb81f0f48b583f600250cd829aee Mon Sep 17 00:00:00 2001 From: Gaƫtan Gilbert Date: Wed, 10 Oct 2018 13:37:46 +0200 Subject: UnivGen.constr_of_glob_univ -> Constr.mkRef --- vernac/comAssumption.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vernac') diff --git a/vernac/comAssumption.ml b/vernac/comAssumption.ml index 9497f2fb03..0ef5d56d4f 100644 --- a/vernac/comAssumption.ml +++ b/vernac/comAssumption.ml @@ -173,7 +173,7 @@ let do_assumptions kind nl l = let t = replace_vars subst t in let refs, status' = declare_assumptions idl is_coe kind (t,uctx) ubinders imps nl in let subst' = List.map2 - (fun {CAst.v=id} (c,u) -> (id, UnivGen.constr_of_global_univ (c,u))) + (fun {CAst.v=id} (c,u) -> (id, Constr.mkRef (c,u))) idl refs in subst'@subst, status' && status, next_uctx uctx) -- cgit v1.2.3