diff options
| author | Ken Thompson <ken@golang.org> | 2008-09-14 16:57:55 -0700 |
|---|---|---|
| committer | Ken Thompson <ken@golang.org> | 2008-09-14 16:57:55 -0700 |
| commit | 2119294af9b2a84267de6d701c64ce9634a25045 (patch) | |
| tree | 42cbeaa77289969e35ee03ba4b3bedbaf98e4d88 /src/runtime/runtime.c | |
| parent | b9cee1b6c143fa80b93a9a734ccf7b35dcee1f89 (diff) | |
| download | go-2119294af9b2a84267de6d701c64ce9634a25045.tar.xz | |
methods on any type
-- but only *struct tested
R=r
OCL=15326
CL=15326
Diffstat (limited to 'src/runtime/runtime.c')
| -rw-r--r-- | src/runtime/runtime.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/runtime.c b/src/runtime/runtime.c index 039cec656b..8b4ebe41f4 100644 --- a/src/runtime/runtime.c +++ b/src/runtime/runtime.c @@ -201,6 +201,7 @@ loop2: hash[h] = m; return nil; } + if(ihash != ss[ns].hash || strcmp(sname, iname) != 0) { ns++; |
