Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
go version devel +0a4913b2d4 Wed Aug 23 11:09:11 2017 +0200 linux/amd64
tmp/sandbox278346721/main.go:3:5: initialization loop:
prog.go:3:5 A refers to
If compiled with -l produces understandable error message:
/tmp/test.go:3:5: initialization loop:
/tmp/test.go:3:5 A refers to
/tmp/test.go:7:10 B refers to
/tmp/test.go:11:10 C refers to
/tmp/test.go:15:10 D refers to
In real scenario this is spread across files and intermixed with other code.
The text was updated successfully, but these errors were encountered:
Looks somewhat like an extension of #16503, but here we get the proper message only with -l. /cc @griesemer and @rsc
Sorry, something went wrong.
Thank you @dvyukov for filing this bug, it'll be fixed along with #21752
Moving to 1.13 like #21752.
No branches or pull requests