1
0
mirror of https://github.com/golang/go synced 2024-11-19 01:04:40 -07:00
go/internal/lsp/analysis
Rohan Challa eabff7e044 internal/lsp/analysis: add quickfix for "no new vars on left side"
This change adds a quick fix for type errors of the type "no new vars on left side of :=". It will replace the ":=" with an "=".

Updates golang/go#34644

Change-Id: I91af8eb82956104229c3b4f3d0fce60fdfdbb5ea
Reviewed-on: https://go-review.googlesource.com/c/tools/+/225477
Run-TryBot: Rohan Challa <rohan@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-03-27 19:15:53 +00:00
..
nonewvars internal/lsp/analysis: add quickfix for "no new vars on left side" 2020-03-27 19:15:53 +00:00
noresultvalues internal/lsp/analysis: add quickfix for "no result values expected" 2020-03-27 18:57:59 +00:00
simplifycompositelit internal/lsp/analysis: add simplify-composite-lit pass from "gofmt -s" 2020-03-26 20:50:12 +00:00
simplifyrange internal/lsp/analysis: add simplify-range pass from "gofmt -s" 2020-03-26 20:18:45 +00:00
simplifyslice internal/lsp/analysis: add simplify-slice pass from "gofmt -s" 2020-03-26 21:04:57 +00:00
undeclaredname internal/lsp/analysis: add quickfix for undeclared variable 2020-03-27 18:31:06 +00:00
unusedparams internal/lsp/analysis: add pass for unused parameters 2020-03-26 20:36:28 +00:00