summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-12-01 16:18:27 -0800
committerRuss Cox <rsc@golang.org>2009-12-01 16:18:27 -0800
commitca3b22ccd9cdcecccae6a86c562a4da66f68ae66 (patch)
treee501481638df5103cad4a00df3b258300a6c93f5 /src
parentea65a8a5d6519ce5010ea787dadb6fb482056570 (diff)
downloadgolang-ca3b22ccd9cdcecccae6a86c562a4da66f68ae66.tar.gz
gob: fix build
TBR=r http://codereview.appspot.com/163064
Diffstat (limited to 'src')
-rw-r--r--src/pkg/gob/encode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/gob/encode.go b/src/pkg/gob/encode.go
index d7b4a21c5..36845b87c 100644
--- a/src/pkg/gob/encode.go
+++ b/src/pkg/gob/encode.go
@@ -375,7 +375,7 @@ func encOpFor(rt reflect.Type) (encOp, int, os.Error) {
if err != nil {
return nil, 0, err
}
- info := getTypeInfoNoError(typ);
+ info := mustGetTypeInfo(typ);
op = func(i *encInstr, state *encoderState, p unsafe.Pointer) {
state.update(i);
// indirect through info to delay evaluation for recursive structs