diff options
author | Robert Griesemer <gri@golang.org> | 2022-09-21 20:52:00 -0700 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2022-09-23 20:27:09 +0000 |
commit | c58bfeeb045895f080fff9c76fdbf3d9d8ab683b (patch) | |
tree | f6cdce6581c4ca203845d1d9dfed64856abd909a /test/fixedbugs/bug459.go | |
parent | 5d213a3dc764624e3f01d7e957fedc63bfdcfa0f (diff) | |
download | go-git-c58bfeeb045895f080fff9c76fdbf3d9d8ab683b.tar.gz |
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>
Diffstat (limited to 'test/fixedbugs/bug459.go')
-rw-r--r-- | test/fixedbugs/bug459.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug459.go b/test/fixedbugs/bug459.go index c71cb1bd08..a404d218e0 100644 --- a/test/fixedbugs/bug459.go +++ b/test/fixedbugs/bug459.go @@ -4,12 +4,12 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// Issue 3890: missing detection of init loop involving +// Issue 3890: missing detection of init cycle involving // method calls in function bodies. package flag -var commandLine = NewFlagSet() // ERROR "loop|depends upon itself" +var commandLine = NewFlagSet() // ERROR "initialization cycle|depends upon itself" type FlagSet struct { } |