]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] runtime/race: make test compatible with types2
authorMatthew Dempsky <mdempsky@google.com>
Fri, 4 Jun 2021 06:52:34 +0000 (23:52 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Sat, 5 Jun 2021 02:01:10 +0000 (02:01 +0000)
commit4e001a8d9eec1ec165b45a37e804c2cf42351bc5
treed7bfce20f7f267b9a8b26c02d9ef22f3f944f3b2
parent246a5570bea7b60fa2c1f0e8d4bdca527dd7c224
[dev.typeparams] runtime/race: make test compatible with types2

types2 correctly distinguishes variable assignment from use even
within function literals. Whatever the outcome of #3059, the test
cases in runtime/race need to be fixed to accomodate that.

Change-Id: Ibe3547f07b681ff41225caabaf050872a48c98d1
Reviewed-on: https://go-review.googlesource.com/c/go/+/325030
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/runtime/race/output_test.go