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

Issue 7415050: code review 7415050: spec: terminating statements for functions (Closed)

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

Description

spec: terminating statements for functions The only functional change is the new section on terminating statements. There is a minor syntax rewrite (not change) of function declarations to make it easier to refer to the notion of a function from all places where it is used (function decls, method decls, and function literals). Includes some minor fixes/additions of missing links. Based closely on Russ' proposal. Fixes issue 65.

Patch Set 1 #

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

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

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

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

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

Total comments: 14

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

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

Total comments: 2

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

Total comments: 2

Patch Set 10 : diff -r f545866390ab https://code.google.com/p/go #

Patch Set 11 : diff -r 34970cca174d https://code.google.com/p/go #

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

Messages

Total messages: 15
gri
Hello rsc@golang.org, r@golang.org, iant@golang.org, ken@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to ...
12 years ago (2013-03-04 04:41:14 UTC) #1
bradfitz
https://codereview.appspot.com/7415050/diff/13001/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/7415050/diff/13001/doc/go_spec.html#newcode3887 doc/go_spec.html:3887: <li>both branches are terminating statements.</li> s/both/all/ ?
12 years ago (2013-03-04 06:06:32 UTC) #2
gri
Waiting for comments from more people. https://codereview.appspot.com/7415050/diff/13001/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/7415050/diff/13001/doc/go_spec.html#newcode3887 doc/go_spec.html:3887: <li>both branches are ...
12 years ago (2013-03-04 17:31:41 UTC) #3
bradfitz
On Mon, Mar 4, 2013 at 9:31 AM, <gri@golang.org> wrote: > Waiting for comments from ...
12 years ago (2013-03-04 17:34:22 UTC) #4
rsc
LGTM https://codereview.appspot.com/7415050/diff/13001/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/7415050/diff/13001/doc/go_spec.html#newcode3929 doc/go_spec.html:3929: Flow of control does not continue past a ...
12 years ago (2013-03-04 18:06:28 UTC) #5
gri
Any other takers? https://codereview.appspot.com/7415050/diff/13001/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/7415050/diff/13001/doc/go_spec.html#newcode3929 doc/go_spec.html:3929: Flow of control does not continue ...
12 years ago (2013-03-04 18:27:23 UTC) #6
r
https://codereview.appspot.com/7415050/diff/13001/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/7415050/diff/13001/doc/go_spec.html#newcode1472 doc/go_spec.html:1472: A <i>block</i> is a (possibly empty) sequence of declarations ...
12 years ago (2013-03-04 18:35:54 UTC) #7
gri
PTAL https://codereview.appspot.com/7415050/diff/13001/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/7415050/diff/13001/doc/go_spec.html#newcode1472 doc/go_spec.html:1472: A <i>block</i> is a (possibly empty) sequence of ...
12 years ago (2013-03-04 19:35:00 UTC) #8
rsc
LGTM Still looks good to me, but wait for Rob. https://codereview.appspot.com/7415050/diff/23001/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/7415050/diff/23001/doc/go_spec.html#newcode3931 ...
12 years ago (2013-03-04 19:56:12 UTC) #9
gri
PTAL https://codereview.appspot.com/7415050/diff/23001/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/7415050/diff/23001/doc/go_spec.html#newcode3931 doc/go_spec.html:3931: is not empty and if its final statement ...
12 years ago (2013-03-04 20:26:15 UTC) #10
r
LGTM
12 years ago (2013-03-04 20:41:05 UTC) #11
iant
LGTM https://codereview.appspot.com/7415050/diff/13002/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/7415050/diff/13002/doc/go_spec.html#newcode3859 doc/go_spec.html:3859: A terminating statement is one the the following: ...
12 years ago (2013-03-04 20:55:26 UTC) #12
gri
https://codereview.appspot.com/7415050/diff/13002/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/7415050/diff/13002/doc/go_spec.html#newcode3859 doc/go_spec.html:3859: A terminating statement is one the the following: On ...
12 years ago (2013-03-04 20:58:23 UTC) #13
rsc
LGTM
12 years ago (2013-03-04 21:17:47 UTC) #14
gri
12 years ago (2013-03-04 21:55:54 UTC) #15
*** Submitted as https://code.google.com/p/go/source/detail?r=763763e16eb3 ***

spec: terminating statements for functions

The only functional change is the new section
on terminating statements.

There is a minor syntax rewrite (not change)
of function declarations to make it easier to
refer to the notion of a function from all places
where it is used (function decls, method decls,
and function literals).

Includes some minor fixes/additions of missing links.

Based closely on Russ' proposal.

Fixes issue 65.

R=rsc, r, iant, ken, bradfitz
CC=golang-dev
https://codereview.appspot.com/7415050
Sign in to reply to this message.

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