Debian Codegraph @

go/ir/testdata/indirect.txtar

raw
1 -- go.mod --
2 module testdata
3 go 1.18
4
5 -- a/a.go --
6 package a
7
8 import "testdata/b"
9
10 func A() {
11 var x b.B
12 x.F()
13 }
14
15 -- b/b.go --
16 package b
17
18 import "testdata/c"
19
20 type B struct { c.C }
21
22 -- c/c.go --
23 package c
24
25 type C int
26 func (C) F() {}