aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/encode.go
diff options
context:
space:
mode:
authorRob Findley <rfindley@google.com>2023-07-25 11:57:37 -0400
committerGopher Robot <gobot@golang.org>2023-08-01 17:16:43 +0000
commitb6898dde3d7488cfa41b4f126f6fed49d2918ea5 (patch)
tree0d4b3bb0543a36d95449fd7edacc5a69d81b69c9 /src/encoding/json/encode.go
parent8597d052b2467a9f9ea20673555d65f0149c4bb4 (diff)
downloadgo-b6898dde3d7488cfa41b4f126f6fed49d2918ea5.tar.xz
go/types, types2: instantiated interfaces must be concurrency safe
It is the responsibility of go/types to complete any interface it creates, except for those created by the user using NewInterface. However, this was not being done for interfaces created during instantiation. Fix this by (rather carefully) ensuring that all newly created interfaces are eventually completed. Fixes golang/go#61561 Change-Id: I3926e7c9cf80714838d2c1b5f36a2d3221c60c41 Reviewed-on: https://go-review.googlesource.com/c/go/+/513015 Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Robert Findley <rfindley@google.com> Reviewed-by: Robert Griesemer <gri@google.com>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions