Debian Codegraph @

test/fixedbugs/issue43479.dir/b.go

raw
1 // Copyright 2020 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package b
6
7 import "./a"
8
9 var Here = a.New()
10 var Dir = Here.Dir
11
12 type T = struct {
13 a.Here
14 a.I
15 }
16
17 var X T
18
19 // Test exporting the type of method values for anonymous structs with
20 // promoted methods.
21 var A = a.A
22 var B = a.B
23 var C = a.C
24 var D = a.D
25 var E = a.E
26 var F = a.F
27 var G = (*a.T).Dir
28 var H = a.T.Dir
29 var I = a.X.Dir
30 var J = (*a.T).M
31 var K = a.T.M
32 var L = a.X.M
33 var M = (*T).Dir
34 var N = T.Dir
35 var O = X.Dir
36 var P = (*T).M
37 var Q = T.M
38 var R = X.M