| 1 |
Require Import TestSuite.hurkens. |
| 2 |
|
| 3 |
Polymorphic Record box (X : Type) (T := Type) : Type := wrap { unwrap : T }. |
| 4 |
|
| 5 |
Definition unwrap' := fun (X : Type) (b : box X) => let (unwrap) := b in unwrap. |
| 6 |
|
| 7 |
Fail Definition bad : False := TypeNeqSmallType.paradox (unwrap' Type (wrap _ Type)) eq_refl. |