| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
otherwise it fails spuriously with "newfunc allocated unexpectedly" message
when run with GOMAXPROCS>1 (other goroutine allocates).
R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/6347056
|
|
|
|
|
|
|
|
|
|
|
|
| |
Very few of the compiler regression tests include a comment
saying waht they do. Many are obvious, some are anything but.
I've started with a-c in the top directory. More will follow once
we agree on the approach, correctness, and thoroughness here.
zerodivide.go sneaked in too.
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/5656100
|
|
|
|
|
|
|
|
|
|
|
| |
X ,s;^// \$G (\$D/)?\$F\.go *$;// compile;g
X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A *$;// build;g
X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A && \./\$A\.out *$;// run;g
X ,s;^// errchk \$G( -e)? (\$D/)?\$F\.go *$;// errorcheck;g
R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5656082
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unexports runtime.MemStats and rename MemStatsType to MemStats.
The new accessor requires passing a pointer to a user-allocated
MemStats structure.
Fixes issue 2572.
R=bradfitz, rsc, bradfitz, gustavo
CC=golang-dev, remy
http://codereview.appspot.com/5616072
|
|
|
|
|
|
|
|
| |
vars.
R=rsc, bradfitz
CC=golang-dev
http://codereview.appspot.com/5529060
|
|
|
|
|
|
| |
R=ken, ken
CC=golang-dev
http://codereview.appspot.com/5373079
|
|
|
|
|
|
|
|
| |
Fixes issue 1231.
R=ken2
CC=golang-dev
http://codereview.appspot.com/3627041
|
|
|
|
|
|
|
|
|
| |
in the tests, println+panic.
gofmt some tests too.
R=rsc
CC=golang-dev
http://codereview.appspot.com/741041
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
so that == on func means that the
functions originated in the same
execution of a func literal or definition.
before, there was an inconsistency:
func() {x++} != func() {x++}
but
func() {} == func() {}
this CL makes the second case != too,
just like
make(map[int]int) != make(map[int]int)
R=r
DELTA=202 (71 added, 62 deleted, 69 changed)
OCL=32393
CL=32398
|
|
|
|
|
|
|
|
|
|
| |
plus significant hand editing.
Back to T{x} for composite literals.
R=r
OCL=25612
CL=25632
|
|
|
|
|
|
|
|
|
|
| |
only non-trivial changes are in
convlit1.go
golden.out
R=gri
OCL=25019
CL=25024
|
|
R=r
DELTA=257 (250 added, 1 deleted, 6 changed)
OCL=24509
CL=24565
|