gob: fix build

TBR=r
https://golang.org/cl/163064
This commit is contained in:
Russ Cox 2009-12-01 16:18:27 -08:00
parent e919275825
commit 2a54997baa

View File

@ -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