aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-01-21 14:51:57 -0800
committerRuss Cox <rsc@golang.org>2009-01-21 14:51:57 -0800
commit61590c4c44cfa428b515a155e14c5fd7d3d5f255 (patch)
treee6e5387785e7225a21f67ca7ae15473f3d926bec /src/runtime
parentc3fa54c48bcf21e1479ee203b9f577745f1b52fe (diff)
downloadgo-61590c4c44cfa428b515a155e14c5fd7d3d5f255.tar.xz
disallow P.t for lowercase t and not our package P.
implement hiding lowercase methods m in signatures by adding in a hash of the package name to the type hash code. remove remaining checks for internally-generated _ names: they are all gone. R=ken OCL=23236 CL=23238
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/iface.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/runtime/iface.c b/src/runtime/iface.c
index 832f157263..70e2b4f04c 100644
--- a/src/runtime/iface.c
+++ b/src/runtime/iface.c
@@ -168,6 +168,13 @@ throw:
prints(": missing method ");
prints((int8*)iname);
prints("\n");
+ if(iface_debug) {
+ prints("interface");
+ printsigi(si);
+ prints("\ntype");
+ printsigt(st);
+ prints("\n");
+ }
throw("interface conversion");
}
m->bad = 1;