Debian Codegraph @

test-suite/bugs/bug_19161.v

raw
1 Set Universe Polymorphism.
2 Set Printing Universes.
3 Section test.
4 Universe u.
5
6 (* all 3 should fail or succeed together *)
7
8 Fail Check Type@{u} : Type@{Set+1}.
9 Fail Definition a := Type@{u} : Type@{Set+1}.
10 Fail Check (fun A : Type@{Set+1} => A) Type@{u}.
11 End test.