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