Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(503)

Issue 2750041: code review 2750041: gob: must register basic types to store them interfaces. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 8 months ago by r
Modified:
14 years, 8 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

gob: must register basic types to store them in interfaces. Fixes issue 1230.

Patch Set 1 #

Total comments: 2

Patch Set 2 : code review 2750041: gob: must register basic types to store them in interfaces. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -0 lines) Patch
M src/pkg/gob/codec_test.go View 1 chunk +45 lines, -0 lines 0 comments Download
M src/pkg/gob/type.go View 1 2 chunks +23 lines, -0 lines 0 comments Download

Messages

Total messages: 3
r
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 8 months ago (2010-10-26 17:24:54 UTC) #1
rsc1
LGTM http://codereview.appspot.com/2750041/diff/1/src/pkg/gob/type.go File src/pkg/gob/type.go (right): http://codereview.appspot.com/2750041/diff/1/src/pkg/gob/type.go#newcode517 src/pkg/gob/type.go:517: Register(complex(0i)) s/i// http://codereview.appspot.com/2750041/diff/1/src/pkg/gob/type.go#newcode522 src/pkg/gob/type.go:522: Register([]byte("")) s/""/nil/
14 years, 8 months ago (2010-10-27 00:04:00 UTC) #2
r
14 years, 8 months ago (2010-10-27 00:07:45 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=c686f973d502 ***

gob: must register basic types to store them in interfaces.
Fixes issue 1230.

R=rsc
CC=golang-dev
http://codereview.appspot.com/2750041
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b