• Rob Pike's avatar
    math/big: fix nil bug in GobEncode · bc6bb3ef
    Rob Pike authored
    Update #5305.
    This handles the case where the nil pointers are inside a slice.
    A top-level nil pointer is harder, maybe fundamentally broken by gob's model.
    Thinking required.
    However, a slice is the important case since people don't expect to be sending
    top-level nils much, but they can arise easily in slices.
    
    R=golang-dev, josharian, adg
    CC=golang-dev
    https://golang.org/cl/13042044
    bc6bb3ef
Name
Last commit
Last update
..
arith.go Loading commit data...
arith_386.s Loading commit data...
arith_amd64.s Loading commit data...
arith_arm.s Loading commit data...
arith_decl.go Loading commit data...
arith_test.go Loading commit data...
calibrate_test.go Loading commit data...
example_test.go Loading commit data...
gcd_test.go Loading commit data...
hilbert_test.go Loading commit data...
int.go Loading commit data...
int_test.go Loading commit data...
nat.go Loading commit data...
nat_test.go Loading commit data...
rat.go Loading commit data...
rat_test.go Loading commit data...