• Robert Griesemer's avatar
    spec: specify order of init() calls · c00043b5
    Robert Griesemer authored
    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
    c00043b5
Name
Last commit
Last update
..
articles Loading commit data...
codewalk Loading commit data...
devel Loading commit data...
gopher Loading commit data...
play Loading commit data...
progs Loading commit data...
asm.html Loading commit data...
cmd.html Loading commit data...
code.html Loading commit data...
contrib.html Loading commit data...
contribute.html Loading commit data...
debugging_with_gdb.html Loading commit data...
docs.html Loading commit data...
effective_go.html Loading commit data...
gccgo_contribute.html Loading commit data...
gccgo_install.html Loading commit data...
go-logo-black.png Loading commit data...
go-logo-blue.png Loading commit data...
go-logo-white.png Loading commit data...
go1.1.html Loading commit data...
go1.2.html Loading commit data...
go1.3.html Loading commit data...
go1.html Loading commit data...
go1compat.html Loading commit data...
go_faq.html Loading commit data...
go_mem.html Loading commit data...
go_spec.html Loading commit data...
help.html Loading commit data...
ie.css Loading commit data...
install-source.html Loading commit data...
install.html Loading commit data...
logo-153x55.png Loading commit data...
root.html Loading commit data...
share.png Loading commit data...
sieve.gif Loading commit data...
tos.html Loading commit data...