From faef5dcc656148273063f25716923d9bd1fe2497 Mon Sep 17 00:00:00 2001 From: Gaƫtan Gilbert Date: Sun, 9 Feb 2020 19:49:33 +0100 Subject: Use thunks to univ instead of lazy constr for template typing --- vernac/record.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vernac/record.ml') diff --git a/vernac/record.ml b/vernac/record.ml index 27bd390714..3e44cd85cc 100644 --- a/vernac/record.ml +++ b/vernac/record.ml @@ -622,7 +622,7 @@ let add_inductive_class env sigma ind = let env = push_context ~strict:false (Univ.AUContext.repr univs) env in let env = push_rel_context ctx env in let inst = Univ.make_abstract_instance univs in - let ty = Inductive.type_of_inductive env ((mind, oneind), inst) in + let ty = Inductive.type_of_inductive ((mind, oneind), inst) in let r = Inductive.relevance_of_inductive env ind in { cl_univs = univs; cl_impl = GlobRef.IndRef ind; -- cgit v1.2.3