]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix error message wording
authorRuss Cox <rsc@golang.org>
Tue, 22 Nov 2022 18:27:16 +0000 (13:27 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 23 Nov 2022 19:34:12 +0000 (19:34 +0000)
commita8510f92e6c2b845c66f1fa428466ed3beafc083
tree65a06e52ac8ee10921fc0fac6c792a37daf8f1e4
parent4c0c0e5d9c59dbc2ce6493de4baf3ffb4c1531bb
cmd/compile: fix error message wording

CL 450136 fixed a different copy of this error but missed this one.

With the compiler fix from CL 451555 rolled back to produce the error,
this is the text before this CL:

b.go:9:15: internal compiler error: 'init': Value live at entry. It shouldn't be. func init, node a.i, value nil

And this CL changes it to:

b.go:9:15: internal compiler error: 'init': value a.i (nil) incorrectly live at entry

matching the same change in the earlier CL.

Change-Id: I33e6b91477e1a213a6918c3ebdea81273be7d235
Reviewed-on: https://go-review.googlesource.com/c/go/+/452816
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/compile/internal/ssagen/ssa.go