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

Issue 5675087: code review 5675087: encoding/gob: cache engine for user type, not base type (Closed)

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

Description

encoding/gob: cache engine for user type, not base type When we build the encode engine for a recursive type, we mustn't disregard the indirections or we can try to reuse an engine at the wrong indirection level. Fixes issue 3026.

Patch Set 1 #

Patch Set 2 : diff -r 78e6a187e945 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -2 lines) Patch
M src/pkg/encoding/gob/decode.go View 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/encoding/gob/encoder_test.go View 1 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 3
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
13 years, 3 months ago (2012-02-18 03:25:26 UTC) #1
dsymonds
LGTM s/musn't/mustn't/ in the CL description.
13 years, 3 months ago (2012-02-18 03:28:24 UTC) #2
r
13 years, 3 months ago (2012-02-18 03:38:45 UTC) #3
*** Submitted as 9e29da909bf9 ***

encoding/gob: cache engine for user type, not base type
When we build the encode engine for a recursive type, we
mustn't disregard the indirections or we can try to reuse an
engine at the wrong indirection level.

Fixes issue 3026.

R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/5675087
Sign in to reply to this message.

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