diff options
author | Russ Cox <rsc@golang.org> | 2009-05-07 10:29:35 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-05-07 10:29:35 -0700 |
commit | adb56306f4105a783f702639754e7b2b41cdbf22 (patch) | |
tree | 1aba55c652508383c1eb7589c533aafac87c3824 /src/lib/net/net.go | |
parent | dc9dfef6774c63d00608773d2cfd611e0124ea33 (diff) | |
download | golang-adb56306f4105a783f702639754e7b2b41cdbf22.tar.gz |
6g: error messages
replace "shape error across CALL" with more information.
x.go:7: not enough arguments to CALL
a int, b int
int
x.go:10: assignment count mismatch: 3 = 2
x.go:12: too many arguments to RETURN
[no arguments expected]
int, int, int
also leave type alone after conversion failure,
for later errors:
bug049.go:6: cannot convert nil constant to string
bug049.go:6: illegal types for operand: EQ
string
nil # this used to be blank
R=ken
OCL=28405
CL=28407
Diffstat (limited to 'src/lib/net/net.go')
0 files changed, 0 insertions, 0 deletions