mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: use "init... cycle" instead of "init... loop" in error messages
For #55326. Change-Id: Ia3c1124305986dcd49ac769e700055b263cfbd59 Reviewed-on: https://go-review.googlesource.com/c/go/+/432615 Reviewed-by: Robert Findley <rfindley@google.com> Auto-Submit: Robert Griesemer <gri@google.com> Run-TryBot: Robert Griesemer <gri@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@google.com>
This commit is contained in:
parent
5d213a3dc7
commit
c58bfeeb04
43 changed files with 48 additions and 52 deletions
|
|
@ -13,4 +13,4 @@ func fx() int {
|
|||
return 0
|
||||
}
|
||||
|
||||
var x = fx() // ERROR "initialization loop|depends upon itself"
|
||||
var x = fx() // ERROR "initialization cycle|depends upon itself"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue