summaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/gc/class_string.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2019-03-28 14:35:49 -0700
committerMatthew Dempsky <mdempsky@google.com>2019-05-29 20:29:04 +0000
commit5d0d87ae1659807909da9d97ed1da77d7544d30c (patch)
treeb11214f076cd484f862c69f3a82fab90cf26df2d /src/cmd/compile/internal/gc/class_string.go
parente883d000f4ce0c47711c3a7c59df8bb2f0ec557f (diff)
downloadgo-git-5d0d87ae1659807909da9d97ed1da77d7544d30c.tar.gz
cmd/compile: fix package initialization ordering
This CL rewrites cmd/compile's package-level initialization ordering algorithm to be compliant with the Go spec. See documentation in initorder.go for details. Incidentally, this CL also improves fidelity of initialization loop diagnostics by including referenced functions in the emitted output like go/types does. Fixes #22326. Change-Id: I7c9ac47ff563df4d4f700cf6195387a0f372cc7b Reviewed-on: https://go-review.googlesource.com/c/go/+/170062 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/gc/class_string.go')
0 files changed, 0 insertions, 0 deletions