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

Issue 2226047: code review 2226047: go spec: clarifications for range clause (Closed)

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

Description

go spec: clarifications for range clause

Patch Set 1 #

Patch Set 2 : code review 2226047: go spec: clarifications for range clause #

Patch Set 3 : code review 2226047: go spec: clarifications for range clause #

Patch Set 4 : code review 2226047: go spec: clarifications for range clause #

Total comments: 18

Patch Set 5 : code review 2226047: go spec: clarifications for range clause #

Patch Set 6 : code review 2226047: go spec: clarifications for range clause #

Total comments: 12

Patch Set 7 : code review 2226047: go spec: clarifications for range clause #

Total comments: 14

Patch Set 8 : code review 2226047: go spec: clarifications for range clause #

Total comments: 1

Patch Set 9 : code review 2226047: go spec: clarifications for range clause #

Total comments: 1

Patch Set 10 : code review 2226047: go spec: clarifications for range clause #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -59 lines) Patch
M doc/go_spec.html View 1 2 3 4 5 6 7 8 9 6 chunks +76 lines, -59 lines 0 comments Download

Messages

Total messages: 18
gri
Hello iant, r, rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 7 months ago (2010-09-27 23:46:36 UTC) #1
r
http://codereview.appspot.com/2226047/diff/3/doc/go_spec.html File doc/go_spec.html (right): http://codereview.appspot.com/2226047/diff/3/doc/go_spec.html#newcode3950 doc/go_spec.html:3950: iterates sequentially through all entries of an array, slice, ...
14 years, 7 months ago (2010-09-27 23:56:39 UTC) #2
iant
http://codereview.appspot.com/2226047/diff/3/doc/go_spec.html File doc/go_spec.html (right): http://codereview.appspot.com/2226047/diff/3/doc/go_spec.html#newcode3574 doc/go_spec.html:3574: The operand must be <a href="#Address_operators">addressable</a>. This is a ...
14 years, 7 months ago (2010-09-28 00:03:31 UTC) #3
rsc
I don't believe the range is a left-over. x[i] is valid when x is a ...
14 years, 7 months ago (2010-09-28 00:42:24 UTC) #4
gri
PTAL. Significantly simplified by using a table. http://codereview.appspot.com/2226047/diff/3/doc/go_spec.html File doc/go_spec.html (right): http://codereview.appspot.com/2226047/diff/3/doc/go_spec.html#newcode3574 doc/go_spec.html:3574: The operand ...
14 years, 7 months ago (2010-09-28 01:58:05 UTC) #5
r
a lot of comments but i think it's much better http://codereview.appspot.com/2226047/diff/14001/doc/go_spec.html File doc/go_spec.html (right): http://codereview.appspot.com/2226047/diff/14001/doc/go_spec.html#newcode3951 ...
14 years, 7 months ago (2010-09-28 04:17:39 UTC) #6
gri
PTAL http://codereview.appspot.com/2226047/diff/14001/doc/go_spec.html File doc/go_spec.html (right): http://codereview.appspot.com/2226047/diff/14001/doc/go_spec.html#newcode3951 doc/go_spec.html:3951: iterates through all entries of an array, pointer ...
14 years, 7 months ago (2010-09-28 17:40:13 UTC) #7
gri
PTAL (I think I sent it out before but it's not showing up). - gri ...
14 years, 7 months ago (2010-09-28 17:45:12 UTC) #8
iant
LGTM Much nicer.
14 years, 7 months ago (2010-09-28 17:57:15 UTC) #9
r
http://codereview.appspot.com/2226047/diff/10003/doc/go_spec.html File doc/go_spec.html (right): http://codereview.appspot.com/2226047/diff/10003/doc/go_spec.html#newcode3963 doc/go_spec.html:3963: It may be an array, pointer to an array, ...
14 years, 7 months ago (2010-09-28 18:09:02 UTC) #10
r
14 years, 7 months ago (2010-09-28 18:09:27 UTC) #11
gri
PTAL http://codereview.appspot.com/2226047/diff/10003/doc/go_spec.html File doc/go_spec.html (right): http://codereview.appspot.com/2226047/diff/10003/doc/go_spec.html#newcode3963 doc/go_spec.html:3963: It may be an array, pointer to an ...
14 years, 7 months ago (2010-09-28 19:04:55 UTC) #12
rog
FWIW, i'd prefer it if the iteration variables were declared anew each time through the ...
14 years, 7 months ago (2010-09-28 19:52:35 UTC) #13
rsc
On Tue, Sep 28, 2010 at 15:52, roger peppe <rogpeppe@gmail.com> wrote: > FWIW, i'd prefer ...
14 years, 7 months ago (2010-09-28 19:55:32 UTC) #14
rog
ahem, yes, sorry. On 28 September 2010 20:55, Russ Cox <rsc@golang.org> wrote: > On Tue, ...
14 years, 7 months ago (2010-09-28 20:00:08 UTC) #15
r
LGTM http://codereview.appspot.com/2226047/diff/25001/doc/go_spec.html File doc/go_spec.html (right): http://codereview.appspot.com/2226047/diff/25001/doc/go_spec.html#newcode3963 doc/go_spec.html:3963: d
14 years, 7 months ago (2010-09-28 20:22:56 UTC) #16
rsc1
LGTM http://codereview.appspot.com/2226047/diff/32001/doc/go_spec.html File doc/go_spec.html (right): http://codereview.appspot.com/2226047/diff/32001/doc/go_spec.html#newcode4023 doc/go_spec.html:4023: The iteration variables may be declared by the ...
14 years, 7 months ago (2010-09-28 21:11:54 UTC) #17
gri
14 years, 7 months ago (2010-09-28 21:44:26 UTC) #18
*** Submitted as http://code.google.com/p/go/source/detail?r=27562a1422e4 ***

go spec: clarifications for range clause

R=iant, r, rsc, rog
CC=golang-dev
http://codereview.appspot.com/2226047
Sign in to reply to this message.

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