Debian Codegraph @

test-suite/bugs/bug_9432.v

raw
1
2 Record foo := { f : Type }.
3
4 Fail Canonical Structure xx@{} := {| f := Type |}.
5
6 Canonical Structure xx@{i} := {| f := Type@{i} |}.
7
8 Fail Coercion cc@{} := fun x : Type => Build_foo x.
9
10 Polymorphic Coercion cc@{i} := fun x : Type@{i} => Build_foo x.
11
12 Coercion cc1@{i} := (cc@{i}).