diff options
Diffstat (limited to 'gopls/internal/lsp/testdata/stub/stub_issue2606.go.golden')
-rw-r--r-- | gopls/internal/lsp/testdata/stub/stub_issue2606.go.golden | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gopls/internal/lsp/testdata/stub/stub_issue2606.go.golden b/gopls/internal/lsp/testdata/stub/stub_issue2606.go.golden new file mode 100644 index 000000000..4db266346 --- /dev/null +++ b/gopls/internal/lsp/testdata/stub/stub_issue2606.go.golden @@ -0,0 +1,14 @@ +-- suggestedfix_stub_issue2606_7_11 -- +package stub + +type I interface{ error } + +type C int + +// Error implements I +func (C) Error() string { + panic("unimplemented") +} + +var _ I = C(0) //@suggestedfix("C", "refactor.rewrite", "") + |