]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: rename init function from init.ializers back to init
authorKeith Randall <khr@google.com>
Mon, 18 Mar 2019 20:17:35 +0000 (13:17 -0700)
committerKeith Randall <khr@golang.org>
Mon, 18 Mar 2019 20:41:12 +0000 (20:41 +0000)
commit7b916243d98e36a385da4086fd9dd57004f6e4ca
tree1b9d32ced3648f68d9bfffd2d1e99865b65c725b
parent27e444d5e6cce9f3f4c132ad964627bdb31a3651
cmd/compile: rename init function from init.ializers back to init

The name change init -> init.ializers was initially required for
initialization code.

With CL 161337 there's no wrapper code any more, there's a data
structure instead (named .inittask). So we can go back to just
plain init appearing in tracebacks.

RELNOTE=yes

Update #29919. Followon to CL 161337.

Change-Id: I5a4a49d286df24b53b2baa193dfda482f3ea82a5
Reviewed-on: https://go-review.googlesource.com/c/go/+/167780
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/init.go
src/fmt/errors_test.go
test/fixedbugs/issue29919.dir/a.go