-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Open
Labels
NeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.compiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Milestone
Description
go version devel +0a4913b2d4 Wed Aug 23 11:09:11 2017 +0200 linux/amd64
https://play.golang.org/p/TW5DVv3zTk
Produces obscure:
tmp/sandbox278346721/main.go:3:5: initialization loop:
prog.go:3:5 A refers to
prog.go:3:5 A
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
/tmp/test.go:3:5 A
In real scenario this is spread across files and intermixed with other code.
Metadata
Metadata
Assignees
Labels
NeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.compiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Type
Projects
Status
Triage Backlog