1
0
mirror of https://github.com/golang/go synced 2024-11-20 10:34:42 -07:00

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 { if err != nil {
return nil, 0, err return nil, 0, err
} }
info := getTypeInfoNoError(typ); info := mustGetTypeInfo(typ);
op = func(i *encInstr, state *encoderState, p unsafe.Pointer) { op = func(i *encInstr, state *encoderState, p unsafe.Pointer) {
state.update(i); state.update(i);
// indirect through info to delay evaluation for recursive structs // indirect through info to delay evaluation for recursive structs