aboutsummaryrefslogtreecommitdiff
path: root/gopls/internal/lsp/testdata/rename/crosspkg/another/another.go.golden
diff options
context:
space:
mode:
Diffstat (limited to 'gopls/internal/lsp/testdata/rename/crosspkg/another/another.go.golden')
-rw-r--r--gopls/internal/lsp/testdata/rename/crosspkg/another/another.go.golden15
1 files changed, 15 insertions, 0 deletions
diff --git a/gopls/internal/lsp/testdata/rename/crosspkg/another/another.go.golden b/gopls/internal/lsp/testdata/rename/crosspkg/another/another.go.golden
new file mode 100644
index 000000000..d3fccdaf1
--- /dev/null
+++ b/gopls/internal/lsp/testdata/rename/crosspkg/another/another.go.golden
@@ -0,0 +1,15 @@
+-- G-rename --
+package another
+
+type (
+ I interface{ G() }
+ C struct{ I }
+)
+
+func (C) g()
+
+func _() {
+ var x I = C{}
+ x.G() //@rename("F", "G")
+}
+