diff options
| author | Matthieu Sozeau | 2018-09-20 17:12:12 +0200 |
|---|---|---|
| committer | Matthieu Sozeau | 2018-09-20 17:12:12 +0200 |
| commit | 7b6f1f0ed0872cd16d7d01683673fd9323122f30 (patch) | |
| tree | 2d3e6141d9dd38cc483df6a5ce6a59854519f047 /test-suite | |
| parent | df1f5bcd406a87c77601942f21d16555a8f6086e (diff) | |
| parent | 69339f8fcfe3e5f3fa1c58feba6b0740c7e86538 (diff) | |
Merge PR #8297: Fix #7754: universe declarations on mutual inductives
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/7754.v | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/7754.v b/test-suite/bugs/closed/7754.v new file mode 100644 index 0000000000..229df93773 --- /dev/null +++ b/test-suite/bugs/closed/7754.v @@ -0,0 +1,21 @@ + +Set Universe Polymorphism. + +Module OK. + + Inductive one@{i j} : Type@{i} := + with two : Type@{j} := . + Check one@{Set Type} : Set. + Fail Check two@{Set Type} : Set. + +End OK. + +Module Bad. + + Fail Inductive one := + with two@{i +} : Type@{i} := . + + Fail Inductive one@{i +} := + with two@{i +} := . + +End Bad. |
