]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: put constants before variables in initialization order
authorKeith Randall <khr@golang.org>
Thu, 28 Mar 2024 15:47:52 +0000 (08:47 -0700)
committerKeith Randall <khr@golang.org>
Thu, 28 Mar 2024 22:06:51 +0000 (22:06 +0000)
commit8f618c1f5329bd81912f8f776cb8bf028c750687
tree279faa182298dd8f516dbb56106117168ba0967b
parent3f90ba7f1f0ecb230105ad1068ffdc3c2f9a8a97
cmd/compile: put constants before variables in initialization order

Fixes #66575

Change-Id: I03f4d4577b88ad0a92b260b2efd0cb9fe5082b2f
Reviewed-on: https://go-review.googlesource.com/c/go/+/575075
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/types2/initorder.go
src/go/types/initorder.go
test/fixedbugs/issue66575.go [new file with mode: 0644]
test/fixedbugs/issue66575.out [new file with mode: 0644]