aboutsummaryrefslogtreecommitdiff
path: root/test-suite/misc
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2019-02-18 13:09:14 +0100
committerPierre-Marie Pédrot2019-02-18 13:09:14 +0100
commita59574c8eb4bdda60e4bdd6197e8a32574985588 (patch)
treee15e1a0f78d23cd263726d725c93a5e6ce453465 /test-suite/misc
parentf8d6c322783577b31cf55f8b55568ac56104202b (diff)
parenta9f0fd89cf3bb4b728eb451572a96f8599211380 (diff)
Merge PR #9439: Separate variance and universe fields in inductives.
Ack-by: ppedrot
Diffstat (limited to 'test-suite/misc')
-rw-r--r--test-suite/misc/poly-capture-global-univs/src/evilImpl.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-suite/misc/poly-capture-global-univs/src/evilImpl.ml b/test-suite/misc/poly-capture-global-univs/src/evilImpl.ml
index 047f4cd080..f5043db099 100644
--- a/test-suite/misc/poly-capture-global-univs/src/evilImpl.ml
+++ b/test-suite/misc/poly-capture-global-univs/src/evilImpl.ml
@@ -9,13 +9,13 @@ let evil t f =
let u = Level.var 0 in
let tu = mkType (Universe.make u) in
let te = Declare.definition_entry
- ~univs:(Monomorphic_const_entry (ContextSet.singleton u)) tu
+ ~univs:(Monomorphic_entry (ContextSet.singleton u)) tu
in
let tc = Declare.declare_constant t (DefinitionEntry te, k) in
let tc = mkConst tc in
let fe = Declare.definition_entry
- ~univs:(Polymorphic_const_entry ([|Anonymous|], UContext.make (Instance.of_array [|u|],Constraint.empty)))
+ ~univs:(Polymorphic_entry ([|Anonymous|], UContext.make (Instance.of_array [|u|],Constraint.empty)))
~types:(Term.mkArrow tc tu)
(mkLambda (Name.Name (Id.of_string "x"), tc, mkRel 1))
in