test-suite/bugs/bug_7615.v
raw| 1 | Set Universe Polymorphism. |
| 2 | |
| 3 | Module Type S. |
| 4 | Parameter Inline T@{i} : Type@{i+1}. |
| 5 | End S. |
| 6 | |
| 7 | Module F (X : S). |
| 8 | Definition X@{j i} : Type@{j} := X.T@{i}. |
| 9 | End F. |
| 10 | |
| 11 | Module M. |
| 12 | Definition T@{i} := Type@{i}. |
| 13 | End M. |
| 14 | |
| 15 | Module N := F(M). |
| 16 | |
| 17 | Require Import TestSuite.hurkens. |
| 18 | |
| 19 | Fail Definition eqU@{i j} : @eq Type@{j} N.X@{i Set} Type@{i} := eq_refl. |