mirror of https://github.com/golang/go.git
This change corrects the computation of the 'changed' result of the x.UnionWith(y) method in the case where a block of y is a subset of the corresponding block of x. It also adds a test. I audited for similar problems and found none. Fixes golang/go#50352 Change-Id: I5224211a3cab06ce8986cdaa7b75c3b0531b3a9e Reviewed-on: https://go-review.googlesource.com/c/tools/+/374455 Trust: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> |
||
|---|---|---|
| .. | ||
| export_test.go | ||
| sparse.go | ||
| sparse_test.go | ||