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

Issue 4289062: code review 4289062: gob: use pointers in bootstrapType so interfaces behave... (Closed)

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

Description

gob: use pointers in bootstrapType so interfaces behave properly and don't lead to a nil reflect.Type. Fixes issue 1626.

Patch Set 1 #

Patch Set 2 : diff -r 4792582b3c2d https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 4792582b3c2d https://go.googlecode.com/hg/ #

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

Messages

Total messages: 4
r
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 11 months ago (2011-03-22 18:28:08 UTC) #1
rsc
The structs are allocating. (*struct{ r7 int })(nil) etc
13 years, 11 months ago (2011-03-22 18:40:47 UTC) #2
rsc
LGTM
13 years, 11 months ago (2011-03-22 18:40:57 UTC) #3
r
13 years, 11 months ago (2011-03-22 18:43:13 UTC) #4
*** Submitted as http://code.google.com/p/go/source/detail?r=e09fea843e98 ***

gob: use pointers in bootstrapType so interfaces behave properly
and don't lead to a nil reflect.Type.
Fixes issue 1626.

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

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