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

Issue 116440046: code review 116440046: cmd/gc: prohibit short variable declarations containing... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 8 months ago by esk
Modified:
9 years, 6 months ago
Reviewers:
rsc
CC:
golang-codereviews, r, gobot, rsc
Visibility:
Public.

Description

cmd/gc: prohibit short variable declarations containing duplicate symbols Fixes issue 6764. Fixes issue 8435.

Patch Set 1 #

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

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

Total comments: 4

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -0 lines) Patch
M src/cmd/gc/dcl.c View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M test/assign.go View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 9
esk
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
9 years, 8 months ago (2014-08-01 03:23:20 UTC) #1
esk
On 2014/08/01 03:23:20, esk wrote: > Hello mailto:golang-codereviews@googlegroups.com, > > I'd like you to review ...
9 years, 8 months ago (2014-08-17 00:18:39 UTC) #2
r
No, we're just holding fast on most compiler changes at the moment.
9 years, 8 months ago (2014-08-26 17:51:40 UTC) #3
gobot
R=rsc@golang.org (assigned by r@golang.org)
9 years, 7 months ago (2014-09-07 05:36:21 UTC) #4
rsc
It may not matter in practice in this case, but I try hard not to ...
9 years, 7 months ago (2014-09-24 19:08:45 UTC) #5
rsc
Please also add a test for issue 6764. It can go into the same test ...
9 years, 7 months ago (2014-09-24 19:09:43 UTC) #6
esk
PTAL https://codereview.appspot.com/116440046/diff/40001/src/cmd/gc/dcl.c File src/cmd/gc/dcl.c (right): https://codereview.appspot.com/116440046/diff/40001/src/cmd/gc/dcl.c#newcode493 src/cmd/gc/dcl.c:493: for(l=left; l; l=l->next) { On 2014/09/24 19:08:45, rsc ...
9 years, 7 months ago (2014-09-26 02:34:02 UTC) #7
rsc
LGTM
9 years, 6 months ago (2014-10-06 20:36:52 UTC) #8
rsc
9 years, 6 months ago (2014-10-06 21:16:45 UTC) #9
*** Submitted as https://code.google.com/p/go/source/detail?r=895c694ab135 ***

cmd/gc: prohibit short variable declarations containing duplicate symbols

Fixes issue 6764.
Fixes issue 8435.

LGTM=rsc
R=golang-codereviews, r, gobot, rsc
CC=golang-codereviews
https://codereview.appspot.com/116440046

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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