]> Cypherpunks repositories - gostls13.git/commit
error message fixes
authorRuss Cox <rsc@golang.org>
Wed, 9 Sep 2009 08:21:20 +0000 (01:21 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 9 Sep 2009 08:21:20 +0000 (01:21 -0700)
commit83bdb805a28644df0baf47bdcc740d21cbe861d4
treefccd9d16db564821f7473ed97b049603228fa8a0
parente780fa86691ba5d832665b689243239931f5166a
error message fixes

x == nil
x.go:5: cannot use nil as bool

c := x.(type);
x.go:88: use of .(type) outside type switch

R=ken
OCL=34476
CL=34476
src/cmd/gc/const.c
src/cmd/gc/typecheck.c