• Rob Pike's avatar
    fix bugs in gob. · 330ab5fd
    Rob Pike authored
    1) didn't handle attempts to encode non-structs properly.
    2) if there were multiple indirections involving allocation, didn't allocate the
    intermediate cells.
    tests added.
    
    R=rsc
    DELTA=82  (65 added, 5 deleted, 12 changed)
    OCL=35582
    CL=35582
    330ab5fd
encoder.go 12.3 KB