some deletions
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201028153306-37f0764111ff / internal / lsp / testdata / good / good1.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201028153306-37f0764111ff/internal/lsp/testdata/good/good1.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201028153306-37f0764111ff/internal/lsp/testdata/good/good1.go
deleted file mode 100644 (file)
index bdccaed..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-package good //@diag("package", "no_diagnostics", "", "error")
-
-import (
-       _ "go/ast"                              //@prepare("go/ast", "_", "_")
-       "golang.org/x/tools/internal/lsp/types" //@item(types_import, "types", "\"golang.org/x/tools/internal/lsp/types\"", "package")
-)
-
-func random() int { //@item(good_random, "random", "func() int", "func")
-       _ = "random() int" //@prepare("random", "", "")
-       y := 6 + 7         //@prepare("7", "", "")
-       return y           //@prepare("return", "","")
-}
-
-func random2(y int) int { //@item(good_random2, "random2", "func(y int) int", "func"),item(good_y_param, "y", "int", "var")
-       //@complete("", good_y_param, types_import, good_random, good_random2, good_stuff)
-       var b types.Bob = &types.X{}   //@prepare("ypes","types", "types")
-       if _, ok := b.(*types.X); ok { //@complete("X", X_struct, Y_struct, Bob_interface, CoolAlias)
-       }
-
-       return y
-}