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

Issue 802043: code review 802043: Gofmt preserves newlines in multiline selector expressions. (Closed)

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

Description

Gofmt preserves newlines in multiline selector expressions. This is for making the fluent interface idiom usable with gofmt.

Patch Set 1 #

Patch Set 2 : code review 802043: Gofmt preserves multiline selector expressions. #

Patch Set 3 : code review 802043: Gofmt preserves newlines in multiline selector expressions. #

Total comments: 18

Patch Set 4 : code review 802043: Gofmt preserves newlines in multiline selector expressions. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+298 lines, -6 lines) Patch
M src/pkg/go/printer/nodes.go View 1 2 3 6 chunks +85 lines, -6 lines 2 comments Download
M src/pkg/go/printer/testdata/expressions.golden View 1 2 3 1 chunk +71 lines, -0 lines 0 comments Download
M src/pkg/go/printer/testdata/expressions.input View 1 2 3 1 chunk +71 lines, -0 lines 0 comments Download
M src/pkg/go/printer/testdata/expressions.raw View 1 2 3 1 chunk +71 lines, -0 lines 0 comments Download

Messages

Total messages: 6
rsaarelm
Hello gri (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years ago (2010-03-27 13:33:26 UTC) #1
rsaarelm
Hello gri (cc: golang-dev@googlegroups.com), Please take another look.
15 years ago (2010-03-27 16:24:51 UTC) #2
gri
Thanks for looking into this. I think this looks essentially right, but I think the ...
15 years ago (2010-03-29 22:06:00 UTC) #3
rsaarelm
Hello gri (cc: golang-dev@googlegroups.com), Please take another look.
15 years ago (2010-03-30 15:12:52 UTC) #4
gri
LGTM Thanks for doing this. (There's a couple of minor comment issues; I will submit ...
15 years ago (2010-03-30 18:39:33 UTC) #5
gri
15 years ago (2010-03-30 18:46:24 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=8c21c93343e0 ***

Gofmt preserves newlines in multiline selector expressions.

This is for making the fluent interface idiom usable with gofmt.

R=gri
CC=golang-dev
http://codereview.appspot.com/802043

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