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 / implementation / other / other.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/implementation/other/other.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201105173854-bc9fc8d8c4bc/internal/lsp/testdata/implementation/other/other.go
new file mode 100644 (file)
index 0000000..aff825e
--- /dev/null
@@ -0,0 +1,27 @@
+package other
+
+type ImpP struct{} //@mark(OtherImpP, "ImpP")
+
+func (*ImpP) Laugh() { //@mark(OtherLaughP, "Laugh")
+}
+
+type ImpS struct{} //@mark(OtherImpS, "ImpS")
+
+func (ImpS) Laugh() { //@mark(OtherLaughS, "Laugh")
+}
+
+type ImpI interface { //@mark(OtherLaugher, "ImpI")
+       Laugh() //@mark(OtherLaugh, "Laugh")
+}
+
+type Foo struct { //@implementations("Foo", Joker)
+}
+
+func (Foo) Joke() { //@mark(ImpJoker, "Joke"),implementations("Joke", Joke)
+}
+
+type CryType int
+
+type Cryer interface { //@Cryer
+       Cry(CryType) //@Cry,implementations("Cry", CryImpl)
+}