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

Issue 5545047: code review 5545047: gc: fieldnames in structliterals in exported inlines sh... (Closed)

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

Description

gc: fieldnames in structliterals in exported inlines should not be qualified if they're embedded builtin types. Trust me. Fixes issue 2687.

Patch Set 1 #

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

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

Total comments: 1

Patch Set 4 : diff -r 0c2d98252018 https://go.googlecode.com/hg/ #

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

Patch Set 6 : diff -r 0c2d98252018 https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r 1e0399981493 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -3 lines) Patch
M src/cmd/gc/fmt.c View 1 2 3 4 5 6 2 chunks +15 lines, -3 lines 0 comments Download
A test/fixedbugs/bug396.go View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
A test/fixedbugs/bug396.dir/one.go View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
A test/fixedbugs/bug396.dir/two.go View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 7
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, 6 months ago (2012-01-14 13:16:34 UTC) #1
rsc
http://codereview.appspot.com/5545047/diff/1002/src/cmd/gc/fmt.c File src/cmd/gc/fmt.c (right): http://codereview.appspot.com/5545047/diff/1002/src/cmd/gc/fmt.c#newcode1152 src/cmd/gc/fmt.c:1152: // another special case: if n->left is an embedded ...
13 years, 6 months ago (2012-01-16 23:23:06 UTC) #2
lvd
13 years, 6 months ago (2012-01-17 09:24:24 UTC) #3
lvd
On 2012/01/17 09:24:24, lvd wrote: hm, i think i said 'not significantly simpler but done ...
13 years, 6 months ago (2012-01-17 09:28:01 UTC) #4
lvd
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 6 months ago (2012-01-17 19:37:52 UTC) #5
rsc
LGTM
13 years, 6 months ago (2012-01-18 16:47:55 UTC) #6
lvd
13 years, 6 months ago (2012-01-18 16:51:33 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=3c060add43fb ***

gc: fieldnames in structliterals in exported inlines should not be qualified if
they're embedded builtin types.

Trust me.
Fixes issue 2687.

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

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