Debian Codegraph @

test-suite/bugs/bug_5368.v

raw
1 Set Universe Polymorphism.
2
3 Record cantype := {T:Type; op:T -> unit}.
4 Canonical Structure test (P:Type) := {| T := P -> Type; op := fun _ => tt|}.
5
6 Check (op _ ((fun (_:unit) => Set):_)).