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

Issue 2597041: code review 2597041: reflect: add InterfaceValue.Get to enable setting of an... (Closed)

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

Description

reflect: add InterfaceValue.Get to enable setting of an interface value (through unsafe means) without having a reflect.Type of type *interface{} (pointer to interface). This is needed to make gob able to handle interface values by a method analogous to the way it handles maps.

Patch Set 1 #

Patch Set 2 : code review 2597041: reflect: add InterfaceValue.Get to enable setting of an... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M src/pkg/reflect/value.go View 1 chunk +8 lines, -2 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, 9 months ago (2010-10-20 04:22:29 UTC) #1
rsc
LGTM
14 years, 9 months ago (2010-10-20 04:24:48 UTC) #2
r
14 years, 9 months ago (2010-10-20 04:25:33 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=1528de569aa3 ***

reflect: add InterfaceValue.Get to enable setting of an interface
value (through unsafe means) without having a reflect.Type
of type *interface{} (pointer to interface).  This is needed to make
gob able to handle interface values by a method analogous to
the way it handles maps.

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

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