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

Issue 157119: code review 157119: gofmt -r: documentation and minor fixes (Closed)

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

Description

gofmt -r: documentation and minor fixes fix a few paren insertion bugs in the printer too.

Patch Set 1 #

Patch Set 2 : code review 157119: gofmt -r: documentation and minor fixes #

Patch Set 3 : code review 157119: gofmt -r: documentation and minor fixes #

Total comments: 7

Patch Set 4 : code review 157119: gofmt -r: documentation and minor fixes #

Patch Set 5 : code review 157119: gofmt -r: documentation and minor fixes #

Patch Set 6 : code review 157119: gofmt -r: documentation and minor fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -29 lines) Patch
M src/cmd/gofmt/doc.go View 1 2 3 4 5 2 chunks +27 lines, -0 lines 0 comments Download
M src/cmd/gofmt/rewrite.go View 1 2 3 4 chunks +17 lines, -16 lines 0 comments Download
M src/pkg/go/printer/nodes.go View 1 5 chunks +23 lines, -13 lines 0 comments Download

Messages

Total messages: 7
rsc
Hello gri, r (cc: golang-dev@googlegroups.com), I'd like you to review the following change.
14 years, 5 months ago (2009-11-21 00:44:58 UTC) #1
r
doc.go only: http://codereview.appspot.com/157119/diff/1004/1005 File src/cmd/gofmt/doc.go (right): http://codereview.appspot.com/157119/diff/1004/1005#newcode39 src/cmd/gofmt/doc.go:39: pattern -> replacement maybe quotes around it? ...
14 years, 5 months ago (2009-11-21 00:49:32 UTC) #2
r
http://codereview.appspot.com/157119/diff/1004/1005 File src/cmd/gofmt/doc.go (right): http://codereview.appspot.com/157119/diff/1004/1005#newcode59 src/cmd/gofmt/doc.go:59: gofmt -r 'α[β:len(α)] -> α[β:]' -w $GOROOT/src/pkg On 2009/11/21 ...
14 years, 5 months ago (2009-11-21 00:50:26 UTC) #3
gri
http://codereview.appspot.com/157119/diff/1004/1006 File src/cmd/gofmt/rewrite.go (right): http://codereview.appspot.com/157119/diff/1004/1006#newcode84 src/cmd/gofmt/rewrite.go:84: return size == len(s) && unicode.IsLower(rune); this seems to ...
14 years, 5 months ago (2009-11-21 00:59:44 UTC) #4
rsc
PTAL http://codereview.appspot.com/157119/diff/1004/1006 File src/cmd/gofmt/rewrite.go (right): http://codereview.appspot.com/157119/diff/1004/1006#newcode84 src/cmd/gofmt/rewrite.go:84: return size == len(s) && unicode.IsLower(rune); On 2009/11/21 ...
14 years, 5 months ago (2009-11-21 01:25:01 UTC) #5
gri
LGTM
14 years, 5 months ago (2009-11-21 01:51:49 UTC) #6
rsc
14 years, 5 months ago (2009-11-23 23:44:29 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=0a06788178bc ***

gofmt -r: documentation and minor fixes
fix a few paren insertion bugs in the printer too.

R=gri, r
CC=golang-dev
http://codereview.appspot.com/157119
Sign in to reply to this message.

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