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

Issue 5498053: code review 5498053: effective_go: redeclaration (Closed)

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

Description

effective_go: redeclaration Fixes issue 2455. Fixes issue 2013.

Patch Set 1 #

Total comments: 2

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

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

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

Total comments: 1

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

Total comments: 1

Patch Set 6 : diff -r d96df215f3b5 https://code.google.com/p/go #

Patch Set 7 : diff -r d96df215f3b5 https://code.google.com/p/go #

Patch Set 8 : diff -r d96df215f3b5 https://code.google.com/p/go #

Total comments: 2

Patch Set 9 : diff -r cd149d1139d8 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -0 lines) Patch
M doc/effective_go.html View 1 2 3 4 5 6 7 8 1 chunk +50 lines, -0 lines 0 comments Download
M doc/effective_go.tmpl View 1 2 3 4 5 6 7 8 1 chunk +50 lines, -0 lines 0 comments Download

Messages

Total messages: 13
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
13 years, 5 months ago (2011-12-20 21:37:37 UTC) #1
r
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 5 months ago (2011-12-20 21:40:52 UTC) #2
rsc
I feel like many people will think that x := 1 { x := 2 ...
13 years, 5 months ago (2011-12-20 21:41:41 UTC) #3
r2
On Dec 20, 2011, at 1:41 PM, rsc@golang.org wrote: > I feel like many people ...
13 years, 5 months ago (2011-12-20 21:44:34 UTC) #4
r
Hello rsc@golang.org, r@google.com (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 5 months ago (2011-12-20 21:44:40 UTC) #5
rsc
http://codereview.appspot.com/5498053/diff/7001/doc/effective_go.html File doc/effective_go.html (right): http://codereview.appspot.com/5498053/diff/7001/doc/effective_go.html#newcode572 doc/effective_go.html:572: In a <code>:=</code> declaration it is legal to redeclare ...
13 years, 5 months ago (2011-12-20 21:48:24 UTC) #6
gri
On Tue, Dec 20, 2011 at 1:48 PM, <rsc@golang.org> wrote: > In a <code>:=</code> declaration, ...
13 years, 5 months ago (2011-12-20 21:54:33 UTC) #7
r
Hello rsc@golang.org, r@google.com, gri@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 5 months ago (2011-12-20 21:57:03 UTC) #8
r2
On Dec 20, 2011, at 1:48 PM, rsc@golang.org wrote: > > http://codereview.appspot.com/5498053/diff/7001/doc/effective_go.html > File doc/effective_go.html ...
13 years, 5 months ago (2011-12-20 21:57:06 UTC) #9
gri
LGTM http://codereview.appspot.com/5498053/diff/3005/doc/effective_go.html File doc/effective_go.html (right): http://codereview.appspot.com/5498053/diff/3005/doc/effective_go.html#newcode572 doc/effective_go.html:572: In a <code>:=</code> declaration a variable <code>v</code> may ...
13 years, 5 months ago (2011-12-20 21:59:57 UTC) #10
r
Hello rsc@golang.org, r@google.com, gri@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 5 months ago (2011-12-20 22:00:21 UTC) #11
rsc
LGTM http://codereview.appspot.com/5498053/diff/4008/doc/effective_go.html File doc/effective_go.html (right): http://codereview.appspot.com/5498053/diff/4008/doc/effective_go.html#newcode578 doc/effective_go.html:578: (if <code>v</code> is declared in an outer scope, ...
13 years, 5 months ago (2011-12-20 22:08:37 UTC) #12
r
13 years, 5 months ago (2011-12-20 22:15:38 UTC) #13
*** Submitted as 6bd78dcec1cd ***

effective_go: redeclaration

Fixes issue 2455.
Fixes issue 2013.

R=rsc, r, gri
CC=golang-dev
http://codereview.appspot.com/5498053

http://codereview.appspot.com/5498053/diff/1/doc/effective_go.html
File doc/effective_go.html (left):

http://codereview.appspot.com/5498053/diff/1/doc/effective_go.html#oldcode503
doc/effective_go.html:503: <p id="else">
it seemed wrong to me, but i see now.
Done.
Sign in to reply to this message.

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