aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2019-10-17 16:28:38 -0700
committerRobert Griesemer <gri@golang.org>2019-10-18 02:47:24 +0000
commit8d2ea2936b337f6276054dd4ac40999dd0f22dbc (patch)
treebaf9847ba848fd55b83d05074f19edbb28d359ea /src/runtime
parent8c6876e9a481a2ea48070d3285a07163f564877b (diff)
downloadgo-8d2ea2936b337f6276054dd4ac40999dd0f22dbc.tar.xz
go/types: don't update the underlying type of an imported type
Updating the underlying type of an imported type (even though is was set to the same type again) leads to a race condition if the imported package is imported by separate, concurrently type-checked packages. Fixes #31749. Change-Id: Iabb8e8593eb067eb4816c1df81e545ff52d32c6c Reviewed-on: https://go-review.googlesource.com/c/go/+/201838 Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions