1 | -------- @definition builtin -------- |
---|---|
2 | |
3 | Error: int is built in |
4 | -------- @definition lexical-undef -------- |
5 | |
6 | Error: no object for identifier |
7 | -------- @definition lexical-pkgname -------- |
8 | { |
9 | "objpos": "testdata/src/definition-json/main.go:10:2", |
10 | "desc": "package lib" |
11 | } |
12 | -------- @definition lexical-func -------- |
13 | { |
14 | "objpos": "$GOPATH/src/definition-json/main.go:38:6", |
15 | "desc": "func f" |
16 | } |
17 | -------- @definition lexical-var -------- |
18 | { |
19 | "objpos": "$GOPATH/src/definition-json/main.go:19:6", |
20 | "desc": "var x" |
21 | } |
22 | -------- @definition lexical-shadowing -------- |
23 | { |
24 | "objpos": "$GOPATH/src/definition-json/main.go:22:5", |
25 | "desc": "var x" |
26 | } |
27 | -------- @definition qualified-type -------- |
28 | { |
29 | "objpos": "testdata/src/lib/lib.go:3:6", |
30 | "desc": "type lib.Type" |
31 | } |
32 | -------- @definition qualified-func -------- |
33 | { |
34 | "objpos": "testdata/src/lib/lib.go:9:6", |
35 | "desc": "func lib.Func" |
36 | } |
37 | -------- @definition qualified-var -------- |
38 | { |
39 | "objpos": "testdata/src/lib/lib.go:14:5", |
40 | "desc": "var lib.Var" |
41 | } |
42 | -------- @definition qualified-const -------- |
43 | { |
44 | "objpos": "testdata/src/lib/lib.go:12:7", |
45 | "desc": "const lib.Const" |
46 | } |
47 | -------- @definition qualified-type-renaming -------- |
48 | { |
49 | "objpos": "testdata/src/lib/lib.go:3:6", |
50 | "desc": "type lib.Type" |
51 | } |
52 | -------- @definition qualified-nomember -------- |
53 | |
54 | Error: couldn't find declaration of Nonesuch in "lib" |
55 | -------- @definition qualified-nopkg -------- |
56 | { |
57 | "objpos": "testdata/src/definition-json/main.go:12:2", |
58 | "desc": "package nosuchpkg" |
59 | } |
60 | -------- @definition select-field -------- |
61 | { |
62 | "objpos": "testdata/src/definition-json/main.go:40:16", |
63 | "desc": "field field int" |
64 | } |
65 | -------- @definition select-method -------- |
66 | { |
67 | "objpos": "testdata/src/definition-json/main.go:42:10", |
68 | "desc": "func (T).method()" |
69 | } |
70 | -------- @definition embedded-other-file -------- |
71 | { |
72 | "objpos": "testdata/src/definition-json/type.go:3:6", |
73 | "desc": "type W int" |
74 | } |
75 | -------- @definition embedded-other-file-pointer -------- |
76 | { |
77 | "objpos": "testdata/src/definition-json/type.go:3:6", |
78 | "desc": "type W int" |
79 | } |
80 | -------- @definition embedded-basic -------- |
81 | |
82 | Error: int is built in |
83 | -------- @definition embedded-basic-pointer -------- |
84 | |
85 | Error: int is built in |
86 | -------- @definition embedded-other-pkg -------- |
87 | { |
88 | "objpos": "testdata/src/lib/lib.go:3:6", |
89 | "desc": "type lib.Type" |
90 | } |
91 | -------- @definition embedded-same-file -------- |
92 | { |
93 | "objpos": "$GOPATH/src/definition-json/main.go:40:6", |
94 | "desc": "type T" |
95 | } |
96 |
Members