Debian Codegraph @

test-suite/bugs/bug_3681.v

raw
1 Module Type FOO.
2 Parameters P Q : Type -> Type.
3 End FOO.
4
5 Module Type BAR.
6 Declare Module Import foo : FOO.
7 Parameter f : forall A, P A -> Q A -> A.
8 End BAR.
9
10 Module Type BAZ.
11 Declare Module Export foo : FOO.
12 Parameter g : forall A, P A -> Q A -> A.
13 End BAZ.
14
15 Module BAR_FROM_BAZ (baz : BAZ) : BAR.
16 Import baz.
17 Module foo <: FOO := foo.
18 Import foo.
19 Definition f : forall A, P A -> Q A -> A := g.
20 End BAR_FROM_BAZ.