Debian Codegraph @

test-suite/bugs/bug_5153.v

raw
1 (* An example where it does not hurt having more type-classes resolution *)
2 Class some_type := { Ty : Type }.
3 #[export] Instance: some_type := { Ty := nat }.
4 Arguments Ty : clear implicits.
5 Goal forall (H : forall t : some_type, @Ty t -> False) (H' : False -> 1 = 2), 1 = 2.
6 Proof.
7 intros H H'.
8 specialize (H' (@H _ O)). (* was failing *)
9 Abort.