Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201028153306-37f0764111ff / internal / lsp / testdata / anon / anon.go.in
1 package anon
2
3 func _() {
4         for _, _ := range []struct {
5                 i, j int //@item(anonI, "i", "int", "field"),item(anonJ, "j", "int", "field")
6         }{
7                 {
8                         i: 1,
9                         //@complete("", anonJ)
10                 },
11                 {
12                         //@complete("", anonI, anonJ)
13                 },
14         } {
15                 continue
16         }
17
18         s := struct{ f int }{  } //@item(anonF, "f", "int", "field"),item(structS, "s", "struct{...}", "var"),complete("  }", anonF)
19
20         _ = map[struct{ x int }]int{ //@item(anonX, "x", "int", "field")
21                 struct{ x int }{  }: 1, //@complete("  }", anonX, structS)
22         }
23 }