diff options
| author | Gaëtan Gilbert | 2018-08-21 20:05:42 +0200 |
|---|---|---|
| committer | Gaëtan Gilbert | 2018-08-28 12:49:10 +0200 |
| commit | 6c1783de49e0b11f65cc511a94e9ce37f7210562 (patch) | |
| tree | 82885969be4abd7de53c7ebe99a7ef6385df9d6f /test-suite | |
| parent | f885e8a88620351d9dc4b0969f520d13197f2184 (diff) | |
Fix #8288: cumulativity inferance ignores args to bound variables
(NB: only variables whose binder is inside the constructor argument,
ie
Inductive foo := C : forall A : Type -> Type, A Type -> foo.
does not trigger the bug because A becomes a RelKey.)
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/8288.v | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/8288.v b/test-suite/bugs/closed/8288.v new file mode 100644 index 0000000000..0350be9c06 --- /dev/null +++ b/test-suite/bugs/closed/8288.v @@ -0,0 +1,7 @@ +Set Universe Polymorphism. +Set Printing Universes. + +Set Polymorphic Inductive Cumulativity. + +Inductive foo := C : (forall A : Type -> Type, A Type) -> foo. +(* anomaly invalid subtyping relation *) |
