GoPLS Viewer

Home|gopls/cmd/guru/testdata/src/alias/alias.golden
1-------- @describe describe-pkg --------
2definition of package "alias"
3    type  I interface{f()}
4        method (I) f()
5    type  M = N
6        method (N) f()
7    type  N int
8        method (N) f()
9    type  O int
10    type  P = struct{N}
11        method (struct{N}) f()
12    type  U = invalid type
13    var   m N
14
15-------- @implements implements-I --------
16interface type I
17    is implemented by basic type N
18
19-------- @describe describe-def-M --------
20alias of type N (size 8, align 8)
21defined as int
22Methods:
23    method (N) f()
24
25-------- @describe describe-ref-M --------
26alias of type N (size 8, align 8)
27defined as int
28Methods:
29    method (N) f()
30
31-------- @describe describe-O --------
32definition of type O (size 8, align 8)
33No methods.
34
35-------- @describe describe-P --------
36type struct{N} (size 8, align 8)
37Methods:
38    method (struct{N}) f()
39Fields:
40    N N
41
42-------- @describe describe-U --------
43alias of type invalid type
44
45-------- @describe describe-undefined --------
46identifier
47
48
MembersX
Members
X