test-suite/bugs/bug_21664.v
raw| 1 | Sort s. |
| 2 | |
| 3 | Inductive Ind1 : Type@{s; _} := C. |
| 4 | (* Universe inconsistency. Cannot enforce Prop <= Type@{s | Set}. *) |
| 5 | |
| 6 | Fail #[universes(template)] Inductive ofTy A : Type@{s; _} := OfTy (_:A). |
| 7 | (* not yet implemented *) |
| 8 | |
| 9 | Inductive ofTy A : Type@{s;_} := OfTy (_:A). |
| 10 | |
| 11 | (* parameter A was inferred to be in sort s *) |
| 12 | Check ofTy Ind1. |