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 | 3689d09b90b04bfe4347627d366f4b552a17ed9b (patch) | |
tree | 0802e78710de882ee76b248ff780b4385b36c1a5 /test/chan | |
parent | e6baf6d7886440d371058c4c643730031fd3223c (diff) | |
download | golang-3689d09b90b04bfe4347627d366f4b552a17ed9b.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')
-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 |