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 | 7d972b8ae744caddba5c8ef163b95b612b8f643d (patch) | |
tree | 0802e78710de882ee76b248ff780b4385b36c1a5 /test/chan/perm.go | |
parent | 4c103008001b549fbc78824f40f4636a4fa53b33 (diff) | |
download | go-7d972b8ae744caddba5c8ef163b95b612b8f643d.tar.gz |
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/chan/perm.go')
-rw-r--r-- | test/chan/perm.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/chan/perm.go b/test/chan/perm.go index cdbef6246..b19cbf326 100644 --- a/test/chan/perm.go +++ b/test/chan/perm.go @@ -15,10 +15,10 @@ var ( func main() { cr = c; // ok cs = c; // ok - c = cr; // ERROR "illegal types|incompatible" - c = cs; // ERROR "illegal types|incompatible" - cr = cs; // ERROR "illegal types|incompatible" - cs = cr; // ERROR "illegal types|incompatible" + c = cr; // ERROR "illegal types|incompatible|cannot" + c = cs; // ERROR "illegal types|incompatible|cannot" + cr = cs; // ERROR "illegal types|incompatible|cannot" + cs = cr; // ERROR "illegal types|incompatible|cannot" c <- 0; // ok ok := c <- 0; // ok |