Commit 2a54997b authored by Russ Cox's avatar Russ Cox

gob: fix build

TBR=r
https://golang.org/cl/163064
parent e9192758
...@@ -375,7 +375,7 @@ func encOpFor(rt reflect.Type) (encOp, int, os.Error) { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment