Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201105173854-bc9fc8d8c4bc / cmd / guru / testdata / src / alias / alias.golden
1 -------- @describe describe-pkg --------
2 definition 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 --------
16 interface type I
17         is implemented by basic type N
18
19 -------- @describe describe-def-M --------
20 alias of type N (size 8, align 8)
21 defined as int
22 Methods:
23         method (N) f()
24
25 -------- @describe describe-ref-M --------
26 alias of type N (size 8, align 8)
27 defined as int
28 Methods:
29         method (N) f()
30
31 -------- @describe describe-O --------
32 definition of type O (size 8, align 8)
33 No methods.
34
35 -------- @describe describe-P --------
36 type struct{N} (size 8, align 8)
37 Methods:
38         method (struct{N}) f()
39 Fields:
40         N N
41
42 -------- @describe describe-U --------
43 alias of type invalid type
44
45 -------- @describe describe-undefined --------
46 identifier
47