blob: 1bf41340ce6c268b22884694155c51f5fb2a076d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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("+")
}
|