这是indexloc提供的服务,不要输入任何密码
Skip to content

go1.3beta2

@griesemer griesemer tagged this 21 May 00:46
The spec did not specify the order in which
init() functions are called. Specify that
they are called in source order since we have
now also specified the initialization order
of independent variables.

While technically a language change, no
existing code could have relied on this,
so this should not break anything.

Per suggestion from rsc.

LGTM=r, iant
R=rsc, iant, r, ken
CC=golang-codereviews
https://golang.org/cl/98420046
Assets 2
Loading