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 / extract / extract_function / extract_return_complex.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201105173854-bc9fc8d8c4bc/internal/lsp/testdata/extract/extract_function/extract_return_complex.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201105173854-bc9fc8d8c4bc/internal/lsp/testdata/extract/extract_function/extract_return_complex.go
new file mode 100644 (file)
index 0000000..605c5ec
--- /dev/null
@@ -0,0 +1,17 @@
+package extract
+
+import "fmt"
+
+func _() (int, string, error) {
+       x := 1
+       y := "hello"
+       z := "bye" //@mark(exSt3, "z")
+       if y == z {
+               return x, y, fmt.Errorf("same")
+       } else {
+               z = "hi"
+               return x, z, nil
+       } //@mark(exEn3, "}")
+       return x, z, nil
+       //@extractfunc(exSt3, exEn3)
+}