]> Cypherpunks repositories - gostls13.git/commit
gob: Register should use the original type, not the indirected one.
authorRob Pike <r@golang.org>
Tue, 14 Dec 2010 23:04:52 +0000 (15:04 -0800)
committerRob Pike <r@golang.org>
Tue, 14 Dec 2010 23:04:52 +0000 (15:04 -0800)
commit8132bb1c7458431a5324364d63a7e46ec01fa499
tree36ddf8da8d5ae18213cc06e6359074a2013c873c
parent56452c53ee6313799c9654c2e136c93356a616e5
gob: Register should use the original type, not the indirected one.
Fixes a bug reported on golang-nuts.

R=rsc, adg
CC=golang-dev
https://golang.org/cl/3641042
src/pkg/gob/encoder_test.go
src/pkg/gob/type.go