...

Text file src/golang.org/x/tools/go/ssa/testdata/indirect.txtar

Documentation: golang.org/x/tools/go/ssa/testdata

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

View as plain text