test-suite/bugs/bug_4363.v
raw| 1 | Set Printing Universes. |
| 2 | Definition foo : Type. |
| 3 | Proof. |
| 4 | assert (H : Set) by abstract (assert Type by abstract exact Type using bar; exact nat). |
| 5 | exact bar. |
| 6 | Defined. (* Toplevel input, characters 0-8: |
| 7 | Error: |
| 8 | The term "(fun _ : Set => bar) foo_subproof" has type |
| 9 | "Type@{Top.2}" while it is expected to have type "Type@{Top.1}". *) |