mirror of
https://github.com/golang/go.git
synced 2025-11-02 09:40:56 +00:00
parent
e919275825
commit
2a54997baa
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue