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

Issue 5275048: code review 5275048: gofmt: fix //line handling (Closed)

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

Description

gofmt: fix //line handling Fixes issue 2369.

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -1 line) Patch
M src/cmd/gofmt/gofmt_test.go View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A src/cmd/gofmt/testdata/comments.golden View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
A src/cmd/gofmt/testdata/comments.input View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M src/pkg/go/scanner/scanner.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
rsc
Hello gri (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 5 months ago (2011-10-14 18:56:16 UTC) #1
gri
LGTM++ I think there is more to it in general, but I guess it works... ...
13 years, 5 months ago (2011-10-14 19:01:39 UTC) #2
rsc
I named the test files test1, test2, etc. so that more tests can be added ...
13 years, 5 months ago (2011-10-14 19:12:52 UTC) #3
gri
Please rename (for instance comments.input). There will be more tests for comments, and then it's ...
13 years, 5 months ago (2011-10-14 19:20:22 UTC) #4
rsc
will do; i put them in separate files because when i first isolated the bug ...
13 years, 5 months ago (2011-10-14 19:24:28 UTC) #5
rsc
13 years, 5 months ago (2011-10-14 19:54:46 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=b9a8bd8ae691 ***

gofmt: fix //line handling

Fixes issue 2369.

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

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