test-suite/bugs/bug_18594.v
raw| 1 | Set Universe Polymorphism. |
| 2 | |
| 3 | Lemma foo@{s; |} (A:Type@{s;Set}) (a:A) : A. |
| 4 | Proof. |
| 5 | exact a. |
| 6 | Qed. |
| 7 | |
| 8 | Definition bar : foo nat = foo (id nat) := eq_refl. |
| 9 | |
| 10 | Fail Definition baz x y : foo nat x = foo nat y := eq_refl. |
| 11 | |
| 12 | Definition baz' (A:SProp) (f:A->nat) x y : f (foo A x) = f (foo A y) := eq_refl. |