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

Issue 5348046: code review 5348046: gc: Fail on implicit assigment to non-exported fields i... (Closed)

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

Description

gc: Fail on implicit assigment to non-exported fields in copy and append. Fixes issue 1387.

Patch Set 1 #

Patch Set 2 : diff -r 8c16afe28b0e https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 8c16afe28b0e https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 4 : diff -r 41171c6b511f https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r e19afb349d0e https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -0 lines) Patch
M src/cmd/gc/typecheck.c View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
A test/fixedbugs/bug378.go View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 8
lvd
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 7 months ago (2011-11-07 13:46:45 UTC) #1
rsc
Doesn't look right. Where are tostruct and tointerface?
13 years, 7 months ago (2011-11-07 13:59:38 UTC) #2
rsc
http://codereview.appspot.com/5348046/diff/4001/test/fixedbugs/bug378.go File test/fixedbugs/bug378.go (right): http://codereview.appspot.com/5348046/diff/4001/test/fixedbugs/bug378.go#newcode1 test/fixedbugs/bug378.go:1: // $G $D/$F.dir/one.go && ./errchk $G -I. $D/$F.dir/two.go Can ...
13 years, 7 months ago (2011-11-07 19:07:50 UTC) #3
lvd
On Mon, Nov 7, 2011 at 20:07, <rsc@golang.org> wrote: > > http://codereview.appspot.com/**5348046/diff/4001/test/** > fixedbugs/bug378.go<http://codereview.appspot.com/5348046/diff/4001/test/fixedbugs/bug378.go> > ...
13 years, 7 months ago (2011-11-07 19:11:16 UTC) #4
rsc
On Mon, Nov 7, 2011 at 14:11, Luuk van Dijk <lvd@google.com> wrote: > isn't it ...
13 years, 7 months ago (2011-11-07 19:17:00 UTC) #5
lvd
On 2011/11/07 19:17:00, rsc wrote: > On Mon, Nov 7, 2011 at 14:11, Luuk van ...
13 years, 7 months ago (2011-11-08 09:08:14 UTC) #6
rsc
LGTM change copyright in test to 2011
13 years, 7 months ago (2011-11-09 04:31:29 UTC) #7
lvd
13 years, 7 months ago (2011-11-09 10:17:09 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=90c34570cea1 ***

gc: Fail on implicit assigment to non-exported fields in copy and append.

Fixes issue 1387.

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

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