commit | 330ab5fddbc11fc3dc14958309269e513666a4c9 | [log] [tgz] |
---|---|---|
author | Rob Pike <r@golang.org> | Sun Oct 11 17:37:22 2009 -0700 |
committer | Rob Pike <r@golang.org> | Sun Oct 11 17:37:22 2009 -0700 |
tree | dc94d68df7ac8250b1af92afb8b1330771a78b89 | |
parent | e98412290efb90b3f7aae2e5c63bd9bae5d0bbaf [diff] |
fix bugs in gob. 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