| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
R=r, gri
CC=golang-dev
https://codereview.appspot.com/14552044
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A struct with a single field was considered as equivalent to the
field type, which is incorrect is the field is blank.
Fields with padding could make the compiler think some
types are comparable when they are not.
Fixes issue 5698.
R=rsc, golang-dev, daniel.morsing, bradfitz, gri, r
CC=golang-dev
https://codereview.appspot.com/10271046
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The interpreter's os.Exit now triggers a special panic rather
than kill the test process. (It's semantically dubious, since
it will run deferred routines.) Interpret now returns its
exit code rather than calling os.Exit.
Also:
- disabled parts of a few $GOROOT/tests via os.Getenv("GOSSAINTERP").
- remove unnecessary 'slots' param to external functions; they
are never closures.
Most of the tests are disabled until go/types supports shifts.
They can be reenabled if you patch this workaround:
https://codereview.appspot.com/7312068
R=iant, bradfitz
CC=golang-dev, gri
https://codereview.appspot.com/7313062
|
|
|
|
|
|
|
|
| |
Fixes issue 4585.
R=rsc, golang-dev
CC=golang-dev
https://codereview.appspot.com/7142052
|
|
|
|
|
|
| |
R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5971044
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
R=ken2
CC=golang-dev
http://codereview.appspot.com/5478051
|
|
|
|
|
|
|
|
| |
This should make CL 5431046 a little simpler.
R=ken2
CC=golang-dev
http://codereview.appspot.com/5444048
|
|
|
|
|
|
|
|
|
|
|
| |
also:
cmplx -> complex
float64(1.0) -> 1.0
float64(1) -> 1.0
R=gri, r, gri1, r2
CC=golang-dev
http://codereview.appspot.com/3991043
|
|
|
|
|
|
|
|
| |
R=golang-dev, gri
CC=golang-dev
http://codereview.appspot.com/3529041
Committer: Robert Griesemer <gri@golang.org>
|
|
|
|
|
|
|
|
| |
The ken directory is untouched so we have some examples with explicit semis.
R=gri
CC=golang-dev
http://codereview.appspot.com/2157041
|
|
|
|
|
| |
R=rsc, r
http://codereview.appspot.com/171051
|
|
|
|
|
|
|
|
|
|
| |
* bug211
* embedded interfaces with lowercase methods
* var _ = f() at top level
R=ken
OCL=35898
CL=35898
|
|
|
|
|
|
| |
R=ken
OCL=34500
CL=34500
|
|
R=ken
OCL=34465
CL=34470
|