github.com/jhump/golang-x-tools@v0.0.0-20220218190644-4958d6d39439/internal/lsp/testdata/stub/stub_multi_var.go (about) 1 package stub 2 3 import "io" 4 5 // This test ensures that a variable declaration that 6 // has multiple values on the same line can still be 7 // analyzed correctly to target the interface implementation 8 // diagnostic. 9 var one, two, three io.Reader = nil, &multiVar{}, nil //@suggestedfix("&", "refactor.rewrite") 10 11 type multiVar struct{}