]> Cypherpunks repositories - gostls13.git/commitdiff
gob: fix build
authorRuss Cox <rsc@golang.org>
Wed, 2 Dec 2009 00:18:27 +0000 (16:18 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 2 Dec 2009 00:18:27 +0000 (16:18 -0800)
TBR=r
https://golang.org/cl/163064

src/pkg/gob/encode.go

index d7b4a21c56d693328776c883f7c4a691300ce51c..36845b87c835a1ad5d6a3f122c73e526f1b828c1 100644 (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