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

Issue 7235080: code review 7235080: reflect: explain StructField.Anonymous field as 'embedded' (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by rsc
Modified:
12 years, 1 month ago
Reviewers:
CC:
golang-dev, dave_cheney.net
Visibility:
Public.

Description

reflect: explain StructField.Anonymous field as 'embedded' The spec mostly uses the term embedded. It's too late to change the field name but at least fix the docs. Fixes issue 4514.

Patch Set 1 #

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

Patch Set 3 : diff -r 885321ad3873 https://code.google.com/p/go/ #

Patch Set 4 : diff -r 716971beffeb https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/pkg/reflect/type.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
12 years, 1 month ago (2013-02-01 19:44:11 UTC) #1
dave_cheney.net
LGTM. Would you consider it appropriate to add something like +// BUG(rsc): StructField.Anonymous should be ...
12 years, 1 month ago (2013-02-01 21:17:55 UTC) #2
rsc
On Fri, Feb 1, 2013 at 1:17 PM, Dave Cheney <dave@cheney.net> wrote: > +// BUG(rsc): ...
12 years, 1 month ago (2013-02-02 02:00:34 UTC) #3
rsc
12 years, 1 month ago (2013-02-02 02:01:50 UTC) #4
*** Submitted as https://code.google.com/p/go/source/detail?r=83618f3eee8e ***

reflect: explain StructField.Anonymous field as 'embedded'

The spec mostly uses the term embedded.
It's too late to change the field name but at least fix the docs.

Fixes issue 4514.

R=golang-dev, dave
CC=golang-dev
https://codereview.appspot.com/7235080
Sign in to reply to this message.

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