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/interface | |
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/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"); } |