aboutsummaryrefslogtreecommitdiff
path: root/gopls/internal/lsp/testdata/fillstruct/fill_struct_anon.go
diff options
context:
space:
mode:
Diffstat (limited to 'gopls/internal/lsp/testdata/fillstruct/fill_struct_anon.go')
-rw-r--r--gopls/internal/lsp/testdata/fillstruct/fill_struct_anon.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/gopls/internal/lsp/testdata/fillstruct/fill_struct_anon.go b/gopls/internal/lsp/testdata/fillstruct/fill_struct_anon.go
new file mode 100644
index 000000000..2c099a80e
--- /dev/null
+++ b/gopls/internal/lsp/testdata/fillstruct/fill_struct_anon.go
@@ -0,0 +1,14 @@
+package fillstruct
+
+type StructAnon struct {
+ a struct{}
+ b map[string]interface{}
+ c map[string]struct {
+ d int
+ e bool
+ }
+}
+
+func fill() {
+ _ := StructAnon{} //@suggestedfix("}", "refactor.rewrite", "Fill")
+}