test-suite/bugs/bug_19072.v
raw| 1 | Set Universe Polymorphism. |
| 2 | |
| 3 | Definition demo@{srt;u |} : True. |
| 4 | Proof. |
| 5 | abstract exact I. |
| 6 | Defined. |
| 7 | |
| 8 | (* abstract doesn't restrict named qualities and universes |
| 9 | (debatable behaviour but that's what it does currently) *) |
| 10 | Check demo@{Type;Set}. |
| 11 | |
| 12 | Definition baz@{q;u|} (A:Type@{q;u}) (x:A) : A. |
| 13 | Proof. |
| 14 | abstract exact x. |
| 15 | Defined. |