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

Issue 223041: code review 223041: gofmt: don't print ()'s around function-typed results (... (Closed)

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

Description

gofmt: don't print ()'s around function-typed results (not needed anymore) - add extra test cases to go/printer tests - apply gofmt to src and misc

Patch Set 1 #

Patch Set 2 : code review 223041: gofmt: don't print ()'s around function-typed results (... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -37 lines) Patch
M src/pkg/exp/eval/expr.go View 3 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/exp/eval/expr1.go View 2 chunks +16 lines, -20 lines 0 comments Download
M src/pkg/exp/eval/stmt.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/exp/iterable/iterable.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/go/printer/nodes.go View 1 chunk +3 lines, -9 lines 0 comments Download
M src/pkg/go/printer/testdata/declarations.golden View 1 chunk +7 lines, -0 lines 0 comments Download
M src/pkg/go/printer/testdata/declarations.input View 1 chunk +7 lines, -0 lines 0 comments Download
M src/pkg/reflect/all_test.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/template/template_test.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3
gri
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years, 5 months ago (2010-02-24 21:17:09 UTC) #1
rsc
LGTM
15 years, 5 months ago (2010-02-24 21:19:02 UTC) #2
gri
15 years, 5 months ago (2010-02-24 21:24:45 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=01c634a595c3 ***

gofmt: don't print ()'s around function-typed results (not needed anymore)
- add extra test cases to go/printer tests
- apply gofmt to src and misc

R=rsc
CC=golang-dev
http://codereview.appspot.com/223041
Sign in to reply to this message.

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