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

Issue 7743043: code review 7743043: encoding/xml: allow embedded non-structs (Closed)

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

Description

encoding/xml: allow embedded non-structs The old code just assumed that the only thing you can embed is a struct. Not true. Fixes issue 3803.

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -12 lines) Patch
M src/pkg/encoding/xml/marshal_test.go View 1 2 chunks +12 lines, -0 lines 0 comments Download
M src/pkg/encoding/xml/typeinfo.go View 1 1 chunk +11 lines, -12 lines 0 comments Download

Messages

Total messages: 3
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
11 years, 1 month ago (2013-03-12 03:31:59 UTC) #1
adg
LGTM
11 years, 1 month ago (2013-03-12 03:37:40 UTC) #2
rsc
11 years, 1 month ago (2013-03-12 03:58:26 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=c15b9434ebaf ***

encoding/xml: allow embedded non-structs

The old code just assumed that the only thing
you can embed is a struct. Not true.

Fixes issue 3803.

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

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