diff options
author | Russ Cox <rsc@golang.org> | 2009-08-03 11:58:52 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-08-03 11:58:52 -0700 |
commit | 9dc22b6d6fbd62ce127dbad1bdbfbb073ad7c4af (patch) | |
tree | 0802e78710de882ee76b248ff780b4385b36c1a5 /test/convlit1.go | |
parent | 178089056ea9dae2c2807f0b5b475c2caf09fde3 (diff) | |
download | go-9dc22b6d6fbd62ce127dbad1bdbfbb073ad7c4af.tar.gz go-9dc22b6d6fbd62ce127dbad1bdbfbb073ad7c4af.zip |
more 6g reorg; checkpoint.
typecheck.c is now responsible for all type checking
except for assignment and function argument "..."
R=ken
OCL=32661
CL=32667
Diffstat (limited to 'test/convlit1.go')
-rw-r--r-- | test/convlit1.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/convlit1.go b/test/convlit1.go index 94d28969b7..1e6673cb64 100644 --- a/test/convlit1.go +++ b/test/convlit1.go @@ -6,12 +6,12 @@ package main -var a = []int { "a" }; // ERROR "conver|incompatible" +var a = []int { "a" }; // ERROR "conver|incompatible|cannot" var b = int { 1 }; // ERROR "compos" func f() int func main() { - if f < 1 { } // ERROR "conver|incompatible" + if f < 1 { } // ERROR "conver|incompatible|invalid" } |