summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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