go/go
Tim King 0eebaabce7 go/analysis: allow for identical SuggestedFixes
Stop treating identical SuggestedFixes as overlapping text edits.
Packages can be loaded in multiple ways due to testing, e.g.
"p" and "p [p.test]". Currently SuggestedFixes from both are
considered overlapping and so are not applied.

Updates applyFixes() to report errors in more situations.

Fixes golang/go#54740

Change-Id: I73acb3b73d88535144cfae5161faabb0615a1774
Reviewed-on: https://go-review.googlesource.com/c/tools/+/426734
Reviewed-by: Abirdcfly Abirdcfly <fp544037857@gmail.com>
Run-TryBot: Tim King <taking@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
2022-09-09 18:15:02 +00:00
..
analysis go/analysis: allow for identical SuggestedFixes 2022-09-09 18:15:02 +00:00
ast go/ast/astutil: clarify PathEnclosingInterval 2022-06-02 16:01:13 +00:00
buildutil all: gofmt 2022-04-12 17:53:17 +00:00
callgraph go/callgraph/vta: do not assume that recovers cannot be deferred 2022-08-03 21:02:27 +00:00
cfg all: gofmt 2022-04-12 17:53:17 +00:00
expect all: gofmt 2022-04-12 17:53:17 +00:00
gccgoexportdata all: gofmt 2022-04-12 17:53:17 +00:00
gcexportdata internal/gcimporter: add support for reading unified IR export data 2022-07-15 15:11:26 +00:00
internal go/internal/gcimporter: call Interface.Complete in unified importer 2022-08-24 21:20:11 +00:00
loader all: gofmt 2022-04-12 17:53:17 +00:00
packages internal/span: make NewRange accept File, not FileSet 2022-07-06 19:40:50 +00:00
pointer go/ssa: tweak Function.Name() for generic instantiations 2022-05-18 21:36:11 +00:00
ssa x/tools/go/ssa: disable slice-to-array test 2022-09-07 21:28:53 +00:00
types go/types/objectpath: implement fast path for concrete methods 2022-05-13 20:45:12 +00:00
vcs all: gofmt 2022-04-12 17:53:17 +00:00