]> Cypherpunks repositories - gostls13.git/commit
better error; clean up lineno in a few places
authorRuss Cox <rsc@golang.org>
Thu, 25 Jun 2009 23:32:33 +0000 (16:32 -0700)
committerRuss Cox <rsc@golang.org>
Thu, 25 Jun 2009 23:32:33 +0000 (16:32 -0700)
commit70a273476bb03d6a62a7fc4899634aa976b17ae5
tree2b3eeb6527a9f7303c730357a9d190a2aee6769b
parent4bce6d455f230db670bee0c5126d71dffe119d0f
better error; clean up lineno in a few places

wreck.mtv=; cat x.go
package main
var x = string.Split()
wreck.mtv=; 6g x.go
x.go:2: type string used as expression
x.go:2: undefined DOT Split on string
x.go:3: illegal types for operand: AS
undefined
wreck.mtv=;

BUG=1938751
R=ken
OCL=30766
CL=30766
src/cmd/gc/const.c
src/cmd/gc/subr.c
src/cmd/gc/walk.c