Debian Codegraph @

test-suite/bugs/bug_3482.v

raw
1 Set Primitive Projections.
2 Class Foo (F : False) := { foo : True }.
3 Arguments foo F {Foo}.
4 Print Implicit foo. (* foo : forall F : False, Foo F -> True
5
6 Argument Foo is implicit and maximally inserted *)
7 Check foo _. (* Toplevel input, characters 6-11:
8 Error: Illegal application (Non-functional construction):
9 The expression "foo" of type "True"
10 cannot be applied to the term
11 "?36" : "?35" *)