Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201105173854-bc9fc8d8c4bc / internal / lsp / testdata / cast / cast.go.in
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201105173854-bc9fc8d8c4bc/internal/lsp/testdata/cast/cast.go.in b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201105173854-bc9fc8d8c4bc/internal/lsp/testdata/cast/cast.go.in
new file mode 100644 (file)
index 0000000..7fe2190
--- /dev/null
@@ -0,0 +1,11 @@
+package cast
+
+func _() {
+       foo := struct{x int}{x: 1} //@item(x_field, "x", "int", "field")
+       _ = float64(foo.x) //@complete("x", x_field)
+}
+
+func _() {
+       foo := struct{x int}{x: 1}
+       _ = float64(foo. //@complete(" /", x_field)
+}
\ No newline at end of file