| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
blank1.go:10:9: error: invalid package name _
blank1.go:17:2: error: cannot use _ as value
blank1.go:18:7: error: cannot use _ as value
blank1.go:20:8: error: invalid use of ?_?
R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/14088044
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Fixes issue 4941.
R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7415051
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I haven't looked at the source, but the gc compiler appears to
omit "not used" errors when there is an error in the
initializer. This is harder to do in gccgo, and frankly I
think the "not used" error is still useful even if the
initializer has a problem. This CL tweaks some tests to avoid
the error, which is not the point of these tests in any case.
R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/5561059
|
|
|
|
|
|
|
|
| |
The ken directory is untouched so we have some examples with explicit semis.
R=gri
CC=golang-dev
http://codereview.appspot.com/2157041
|
|
R=ken
OCL=34465
CL=34470
|