diff options
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/HoTT_coq_098.v | 33 |
1 files changed, 4 insertions, 29 deletions
diff --git a/test-suite/bugs/closed/HoTT_coq_098.v b/test-suite/bugs/closed/HoTT_coq_098.v index fc15a88f7b..fc99daab68 100644 --- a/test-suite/bugs/closed/HoTT_coq_098.v +++ b/test-suite/bugs/closed/HoTT_coq_098.v @@ -37,35 +37,10 @@ Module success. Admitted. End success. -Module failure. +Module success2. Section SpecializedFunctor. - Context `(C : @SpecializedCategory objC). - Context `(D : @SpecializedCategory objD). - - Polymorphic Record SpecializedFunctor - := { - ObjectOf' : objC -> objD; - MorphismOf' : forall s d, C.(Morphism') s d -> D.(Morphism') (ObjectOf' s) (ObjectOf' d) - }. - End SpecializedFunctor. - - Set Printing Universes. - Polymorphic Definition UnderlyingGraph : SpecializedFunctor GraphIndexingCategory TypeCat. - (* Toplevel input, characters 73-94: -Error: -The term "GraphIndexingCategory (* Top.563 *)" has type - "SpecializedCategory (* Top.563 Set *) GraphIndex" -while it is expected to have type - "SpecializedCategory (* Top.550 Top.551 *) ?7" -(Universe inconsistency: Cannot enforce Set = Top.551)). *) - admit. - Defined. -End failure. - -Module polycontext. - Section SpecializedFunctor. - Context `(C : @SpecializedCategory objC). - Context `(D : @SpecializedCategory objD). + Polymorphic Context `(C : @SpecializedCategory objC). + Polymorphic Context `(D : @SpecializedCategory objD). Polymorphic Record SpecializedFunctor := { @@ -85,4 +60,4 @@ while it is expected to have type (Universe inconsistency: Cannot enforce Set = Top.551)). *) admit. Defined. -End polycontext. +End success2. |
