]> Cypherpunks repositories - gostls13.git/commit
gob: fix bug when registering the same type multiple times
authorRob Pike <r@golang.org>
Fri, 4 Nov 2011 01:05:14 +0000 (18:05 -0700)
committerRob Pike <r@golang.org>
Fri, 4 Nov 2011 01:05:14 +0000 (18:05 -0700)
commit88cf76a9b37992c65b916060ca44c87f3a9bde5e
treefe18877de69ff03c4b94929948c4cc97e599bae1
parenta494c2003257edcb5e9177a4c8c0dc2240ae0d24
gob: fix bug when registering the same type multiple times
Need to compare user type, not base type.

R=golang-dev, dsymonds, r
CC=golang-dev
https://golang.org/cl/5340041
src/pkg/encoding/gob/type.go
src/pkg/encoding/gob/type_test.go