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

Issue 3989056: code review 3989056: go/ast: reflect communication operator changes accurate... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 1 month ago by gri
Modified:
14 years, 1 month ago
Reviewers:
CC:
rsc, gri, golang-dev
Visibility:
Public.

Description

go/ast: reflect communication operator changes accurately in ast - go/ast: introduce SendStmt; adjust SelectStmt - go/parser: accept new communication syntax, minor unrelated cleanups - go/printer: adjustments for new ast, fewer binary expression precedences - go/token: remove one binary precedence Adjusted dependent code. gofmt -w src -misc. Ran all tests.

Patch Set 1 #

Patch Set 2 : code review 3989056: go/ast: reflect communication operator changes accurate... #

Total comments: 6

Patch Set 3 : code review 3989056: go/ast: reflect communication operator changes accurate... #

Patch Set 4 : code review 3989056: go/ast: reflect communication operator changes accurate... #

Patch Set 5 : code review 3989056: go/ast: reflect communication operator changes accurate... #

Total comments: 4

Patch Set 6 : code review 3989056: go/ast: reflect communication operator changes accurate... #

Patch Set 7 : code review 3989056: go/ast: reflect communication operator changes accurate... #

Patch Set 8 : code review 3989056: go/ast: reflect communication operator changes accurate... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -92 lines) Patch
M misc/cgo/stdio/chain.go View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/cgo/ast.go View 2 chunks +4 lines, -2 lines 0 comments Download
M src/pkg/go/ast/ast.go View 1 2 5 chunks +14 lines, -5 lines 0 comments Download
M src/pkg/go/ast/walk.go View 1 2 1 chunk +2 lines, -5 lines 0 comments Download
M src/pkg/go/parser/parser.go View 1 2 3 4 5 6 7 5 chunks +60 lines, -30 lines 0 comments Download
M src/pkg/go/parser/parser_test.go View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/go/printer/nodes.go View 8 chunks +41 lines, -40 lines 0 comments Download
M src/pkg/go/token/token.go View 2 chunks +5 lines, -7 lines 0 comments Download
M src/pkg/netchan/netchan_test.go View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7
gri
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 1 month ago (2011-02-01 03:31:01 UTC) #1
rsc
http://codereview.appspot.com/3989056/diff/2001/src/pkg/go/ast/ast.go File src/pkg/go/ast/ast.go (right): http://codereview.appspot.com/3989056/diff/2001/src/pkg/go/ast/ast.go#newcode640 src/pkg/go/ast/ast.go:640: Comm Stmt // send or receive statement // send ...
14 years, 1 month ago (2011-02-01 12:47:13 UTC) #2
gri1
PTAL http://codereview.appspot.com/3989056/diff/2001/src/pkg/go/ast/ast.go File src/pkg/go/ast/ast.go (right): http://codereview.appspot.com/3989056/diff/2001/src/pkg/go/ast/ast.go#newcode640 src/pkg/go/ast/ast.go:640: Comm Stmt // send or receive statement On ...
14 years, 1 month ago (2011-02-01 18:25:45 UTC) #3
rsc
http://codereview.appspot.com/3989056/diff/14001/src/pkg/go/parser/parser.go File src/pkg/go/parser/parser.go (right): http://codereview.appspot.com/3989056/diff/14001/src/pkg/go/parser/parser.go#newcode1522 src/pkg/go/parser/parser.go:1522: arrow := p.expect(token.ARROW) Again I'm not sure that I'm ...
14 years, 1 month ago (2011-02-01 19:13:22 UTC) #4
gri1
PTAL http://codereview.appspot.com/3989056/diff/14001/src/pkg/go/parser/parser.go File src/pkg/go/parser/parser.go (right): http://codereview.appspot.com/3989056/diff/14001/src/pkg/go/parser/parser.go#newcode1522 src/pkg/go/parser/parser.go:1522: arrow := p.expect(token.ARROW) On 2011/02/01 19:13:22, rsc wrote: ...
14 years, 1 month ago (2011-02-01 21:25:38 UTC) #5
rsc
LGTM
14 years, 1 month ago (2011-02-01 21:31:53 UTC) #6
gri
14 years, 1 month ago (2011-02-01 21:47:55 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=bd008eda2e76 ***

go/ast: reflect communication operator changes accurately in ast

- go/ast: introduce SendStmt; adjust SelectStmt
- go/parser: accept new communication syntax, minor
  unrelated cleanups
- go/printer: adjustments for new ast, fewer binary
  expression precedences
- go/token: remove one binary precedence

Adjusted dependent code. gofmt -w src -misc. Ran all tests.

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

Committer: Robert Griesemer <gri@golang.org>
Sign in to reply to this message.

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