]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: put constant value on node inside parentheses
authorKeith Randall <khr@golang.org>
Tue, 22 Apr 2025 22:14:17 +0000 (15:14 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 24 Apr 2025 19:17:27 +0000 (12:17 -0700)
commit67e0681aef41cfd9794d3f7819450acd08a67905
treea8661495ba9458a97bf8d6977e363b783168d24a
parent3672a09a48464d18d0c669cc3590d13091a2e77a
cmd/compile: put constant value on node inside parentheses

That's where the unified IR writer expects it.

Fixes #73476

Change-Id: Ic22bd8dee5be5991e6d126ae3f6eccb2acdc0b19
Reviewed-on: https://go-review.googlesource.com/c/go/+/667415
Reviewed-by: Junyang Shao <shaojunyang@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Keith Randall <khr@google.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Keith Randall <khr@google.com>
src/cmd/compile/internal/types2/range.go
src/go/types/range.go
test/fixedbugs/issue73476.go [new file with mode: 0644]
test/fixedbugs/issue73476.out [new file with mode: 0644]