Debian Codegraph @

test-suite/bugs/bug_9058.v

raw
1 Class A (X : Type) := {}.
2 #[export] Hint Mode A ! : typeclass_instances.
3
4 Class B X {aX: A X} Y := { opB: X -> Y -> Y }.
5 #[export] Hint Mode B - - ! : typeclass_instances.
6
7 Section Section.
8
9 Context X {aX: A X} Y {bY: B X Y}.
10
11 (* Set Typeclasses Debug. *)
12
13 Let ok := fun (x : X) (y : Y) => opB x y.
14 Let ok' := fun x (y : Y) => opB x y.
15
16 End Section.