diff options
| -rw-r--r-- | tuto1/src/simple_declare.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tuto1/src/simple_declare.ml b/tuto1/src/simple_declare.ml index c05907ad4f..5fd0b2e84b 100644 --- a/tuto1/src/simple_declare.ml +++ b/tuto1/src/simple_declare.ml @@ -17,7 +17,8 @@ let edeclare ident (_, poly, _ as k) ~opaque sigma udecl body tyopt imps hook = let packed_declare_definition ident value_with_constraints = let body, ctx = value_with_constraints in let sigma = Evd.from_ctx ctx in - let k = (Decl_kinds.Global, true, Decl_kinds.Definition) in + let k = (Decl_kinds.Global, + Flags.is_universe_polymorphism(), Decl_kinds.Definition) in let udecl = Univdecls.default_univ_decl in let nohook = Lemmas.mk_hook (fun _ x -> x) in ignore (edeclare ident k ~opaque:false sigma udecl body None [] nohook) |
