Debian Codegraph @

test-suite/bugs/bug_9313.v

raw
1 Set Implicit Arguments.
2 Existing Class True.
3
4 #[export] Instance foo1 (a : nat) {b : nat} (e : a = b) : True := I.
5 Check foo1 (a := 3) (b := 4).
6
7 Definition foo2 (a : nat) {b : nat} (e : a = b) : True := I.
8 Check foo2 (a := 3) (b := 4).
9
10 #[export] Instance foo3 (a : nat) {b : nat} (e : a = b) : True.
11 exact I.
12 Qed.
13 Check foo3 (a := 3) (b := 4).