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

Issue 5540046: code review 5540046: go/ast: remove unnecessary result value from ast.Fprint... (Closed)

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

Description

go/ast: remove unnecessary result value from ast.Fprint/Print These functions are mostly of interest for debugging; the number of bytes written is uninteresting.

Patch Set 1 #

Patch Set 2 : diff -r aa208a81cc08 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r aa208a81cc08 https://go.googlecode.com/hg/ #

Total comments: 6

Patch Set 4 : diff -r 162c7fe57d78 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -15 lines) Patch
M src/pkg/go/ast/print.go View 1 4 chunks +10 lines, -14 lines 0 comments Download
M src/pkg/go/ast/print_test.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
gri
Hello r@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 5 months ago (2012-01-12 20:54:17 UTC) #1
bradfitz
http://codereview.appspot.com/5540046/diff/4001/src/pkg/go/ast/print.go File src/pkg/go/ast/print.go (right): http://codereview.appspot.com/5540046/diff/4001/src/pkg/go/ast/print.go#newcode39 src/pkg/go/ast/print.go:39: func Fprint(w io.Writer, fset *token.FileSet, x interface{}, f FieldFilter) ...
13 years, 5 months ago (2012-01-12 20:57:22 UTC) #2
r
http://codereview.appspot.com/5540046/diff/4001/src/pkg/go/ast/print.go File src/pkg/go/ast/print.go (right): http://codereview.appspot.com/5540046/diff/4001/src/pkg/go/ast/print.go#newcode37 src/pkg/go/ast/print.go:37: // are printed; all others are filtered from the ...
13 years, 5 months ago (2012-01-12 21:34:07 UTC) #3
gri
PTAL. http://codereview.appspot.com/5540046/diff/4001/src/pkg/go/ast/print.go File src/pkg/go/ast/print.go (right): http://codereview.appspot.com/5540046/diff/4001/src/pkg/go/ast/print.go#newcode37 src/pkg/go/ast/print.go:37: // are printed; all others are filtered from ...
13 years, 5 months ago (2012-01-12 21:58:02 UTC) #4
r
LGTM
13 years, 5 months ago (2012-01-12 23:12:58 UTC) #5
gri
13 years, 5 months ago (2012-01-13 00:04:21 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=c58ddc8f0210 ***

go/ast: remove unnecessary result value from ast.Fprint/Print

These functions are mostly of interest for debugging; the
number of bytes written is uninteresting.

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

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