mirror of https://github.com/golang/go.git
internal/lsp/analysis: update fillreturns title
Update the title of the diagnostic to account for the fact that fillreturns can also use in-scope variables to fill in values. Change-Id: Ib506af76a4187ef611e96b2602f301432fcbccf0 Reviewed-on: https://go-review.googlesource.com/c/tools/+/253278 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
This commit is contained in:
parent
9786fa3777
commit
242af255f0
|
|
@ -210,7 +210,7 @@ outer:
|
|||
End: typeErrEndPos,
|
||||
Message: typeErr.Msg,
|
||||
SuggestedFixes: []analysis.SuggestedFix{{
|
||||
Message: "Fill with empty values",
|
||||
Message: "Fill in return values",
|
||||
TextEdits: []analysis.TextEdit{{
|
||||
Pos: ret.Pos(),
|
||||
End: ret.End(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue