mirror of
https://github.com/golang/go
synced 2024-11-19 08:34:39 -07:00
6dfe7efaa9
This makes our internal version of go to definition be tested with the same test data that godef now uses Change-Id: I04e488b6b9b2d891181f202ea1125b823a079c50 Reviewed-on: https://go-review.googlesource.com/c/150045 Reviewed-by: Rebecca Stambler <rstambler@golang.org>
12 lines
183 B
Go
12 lines
183 B
Go
// A comment just to push the positions out
|
|
|
|
package a
|
|
|
|
type A string //@A
|
|
|
|
func Stuff() { //@Stuff
|
|
x := 5
|
|
Random2(x) //@godef("dom2", Random2)
|
|
Random() //@godef("()", Random)
|
|
}
|