Sign in
go
/
tools
/
665c9227d976a1d04326dabe85ccc428fc8218bc
/
.
/
gopls
/
internal
/
lsp
/
testdata
/
selectionrange
/
foo.go
blob: 1bf41340ce6c268b22884694155c51f5fb2a076d [
file
] [
log
] [
blame
]
package foo
import "time"
func Bar(x, y int, t time.Time) int {
zs := []int{1, 2, 3}
//@selectionrange("1")
for _, z := range zs {
x = x + z + y + zs[1]
//@selectionrange("1")
}
return x + y
//@selectionrange("+")
}