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

Issue 9895044: code review 9895044: [release-branch.go1.1] cmd/gc: do not corrupt init() wi... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by adg
Modified:
10 years, 10 months ago
Reviewers:
dsymonds, rsc
CC:
DMorsing, dsymonds, r, remyoudompheng, golang-dev
Visibility:
Public.

Description

[release-branch.go1.1] cmd/gc: do not corrupt init() with initializers of _ in closures. ««« CL 9952043 / c42a7c218440 cmd/gc: do not corrupt init() with initializers of _ in closures. Fixes issue 5607. R=golang-dev, daniel.morsing, r, dsymonds CC=golang-dev https://codereview.appspot.com/9952043 »»»

Patch Set 1 #

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

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

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

Patch Set 5 : diff -r 74e2ffd333e9 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -3 lines) Patch
M src/cmd/gc/sinit.c View 1 4 chunks +7 lines, -3 lines 0 comments Download
A test/fixedbugs/issue5607.go View 1 1 chunk +36 lines, -0 lines 0 comments Download

Messages

Total messages: 11
adg
Hello DMorsing, dsymonds, r, remyoudompheng (cc: golang-dev@googlegroups.com), I'd like you to review this change to ...
10 years, 10 months ago (2013-06-04 02:58:28 UTC) #1
adg
Ping. Come on guys, I need to get a bunch of these reviewed before next ...
10 years, 10 months ago (2013-06-04 23:41:14 UTC) #2
dsymonds
LGTM
10 years, 10 months ago (2013-06-04 23:45:01 UTC) #3
adg
*** Submitted as https://code.google.com/p/go/source/detail?r=6fd05e0b4f08 *** [release-branch.go1.1] cmd/gc: do not corrupt init() with initializers of _ ...
10 years, 10 months ago (2013-06-05 00:01:03 UTC) #4
rsc
I don't understand why this patch is correct.
10 years, 10 months ago (2013-06-10 11:55:30 UTC) #5
DMorsing
On Mon, Jun 10, 2013 at 1:55 PM, Russ Cox <rsc@golang.org> wrote: > I don't ...
10 years, 10 months ago (2013-06-10 12:07:44 UTC) #6
rsc
On Mon, Jun 10, 2013 at 8:07 AM, Daniel Morsing <daniel.morsing@gmail.com>wrote: > On Mon, Jun ...
10 years, 10 months ago (2013-06-10 15:29:04 UTC) #7
remyoudompheng
2013/6/10 Russ Cox <rsc@golang.org>: > On Mon, Jun 10, 2013 at 8:07 AM, Daniel Morsing ...
10 years, 10 months ago (2013-06-10 20:20:21 UTC) #8
rsc
On Mon, Jun 10, 2013 at 4:20 PM, Rémy Oudompheng <remyoudompheng@gmail.com>wrote: > Called as part ...
10 years, 10 months ago (2013-06-10 20:37:19 UTC) #9
remyoudompheng
2013/6/10 Russ Cox <rsc@golang.org>: > On Mon, Jun 10, 2013 at 4:20 PM, Rémy Oudompheng ...
10 years, 10 months ago (2013-06-10 20:41:17 UTC) #10
rsc
10 years, 10 months ago (2013-06-10 20:50:39 UTC) #11
On Mon, Jun 10, 2013 at 4:41 PM, Rémy Oudompheng
<remyoudompheng@gmail.com>wrote:

> It is not (well, depending of which church of the Go spec you belong
> to). That's why we have issue 5244 and CL8601044
> (https://codereview.appspot.com/8601044). If we agree on what it
> should do, I can mail out the CL.
>

I replied on issue 5244. That seems serious enough that I would have fixed
it for Go 1.1. It's right on the line for Go 1.1.1. Can you convince me
that fixing it won't break any correct programs?

Russ
Sign in to reply to this message.

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