]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.22] cmd/compile: put constants before variables in initialization...
authorKeith Randall <khr@golang.org>
Thu, 28 Mar 2024 15:47:52 +0000 (08:47 -0700)
committerJoedian Reid <joedian@google.com>
Mon, 24 Jun 2024 17:14:34 +0000 (17:14 +0000)
commit5159a7193ac77b26c7fa7b18309e17709358a411
tree5f65be02eeccda51648a1b470714733739ae62cc
parent11b861e45936eb7911e30304163a14553f53a5d1
[release-branch.go1.22] cmd/compile: put constants before variables in initialization order

Fixes #67820.

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>
Reviewed-on: https://go-review.googlesource.com/c/go/+/590395
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
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]