]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: remove interfacecycles debug flag
authorRobert Griesemer <gri@golang.org>
Tue, 19 Dec 2023 02:13:30 +0000 (18:13 -0800)
committerGopher Robot <gobot@golang.org>
Tue, 19 Dec 2023 04:39:56 +0000 (04:39 +0000)
commit6fe0d3758b35afcc342832e376d8d985a5a29070
tree22877ec85e969d7941de25b5c26db2b4c191703a
parent90daaa0576aafd66b3b0fb9e5c4814fbdcc4b5ce
cmd/compile: remove interfacecycles debug flag

Per the discussion on the issue, since no problems related to this
appeared since Go 1.20, remove the ability to disable the check for
anonymous interface cycles permanently.

Adjust various tests accordingly.

For #56103.

Change-Id: Ica2b28752dca08934bbbc163a9b062ae1eb2a834
Reviewed-on: https://go-review.googlesource.com/c/go/+/550896
Run-TryBot: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/base/debug.go
src/cmd/compile/internal/noder/irgen.go
src/cmd/compile/internal/types2/stdlib_test.go
src/go/types/stdlib_test.go
test/fixedbugs/bug398.go
test/fixedbugs/issue16369.go