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/interface | |
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/interface')
-rw-r--r-- | test/interface/pointer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/interface/pointer.go b/test/interface/pointer.go index 202c37d86..d94ec7cad 100644 --- a/test/interface/pointer.go +++ b/test/interface/pointer.go @@ -32,6 +32,6 @@ func AddInst(Inst) *Inst { func main() { re := new(Regexp); print("call addinst\n"); - var x Inst = AddInst(new(Start)); // ERROR "illegal|incompatible" + var x Inst = AddInst(new(Start)); // ERROR "illegal|incompatible|is not" print("return from addinst\n"); } |