]> Cypherpunks repositories - gostls13.git/commit
go/types,types2: allow new(expr)
authorAlan Donovan <adonovan@google.com>
Thu, 18 Sep 2025 02:17:41 +0000 (22:17 -0400)
committerAlan Donovan <adonovan@google.com>
Tue, 23 Sep 2025 18:36:46 +0000 (11:36 -0700)
commita27261c42fcebf601587725714b9ef53c47b06b3
tree2f584ab21e11369633139c3c8f5752779a68bafa
parente93f439ac4160baf9992f059d2bfb511e23f63c9
go/types,types2: allow new(expr)

For #45624

Change-Id: I6d77a2a1d6095cac0edc36060cbf98c72b749404
Reviewed-on: https://go-review.googlesource.com/c/go/+/704935
Auto-Submit: Alan Donovan <adonovan@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/types2/builtins.go
src/cmd/compile/internal/types2/version.go
src/go/types/builtins.go
src/go/types/version.go
src/internal/types/testdata/check/builtins0.go
src/internal/types/testdata/check/go1_25.go [new file with mode: 0644]
src/internal/types/testdata/fixedbugs/issue43125.go [deleted file]
test/used.go