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

Issue 6524047: code review 6524047: go/doc: strip example output comment from synthesized m... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by adg
Modified:
11 years, 6 months ago
Reviewers:
CC:
gri, gobot, golang-dev
Visibility:
Public.

Description

go/doc: strip example output comment from synthesized main function

Patch Set 1 #

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

Total comments: 2

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -12 lines) Patch
M src/pkg/go/doc/example.go View 1 2 5 chunks +26 lines, -12 lines 0 comments Download

Messages

Total messages: 5
adg
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg
11 years, 7 months ago (2012-09-19 00:36:58 UTC) #1
gobot
R=gri (assigned by adg)
11 years, 7 months ago (2012-09-19 18:10:49 UTC) #2
adg
Ping.
11 years, 6 months ago (2012-09-28 17:53:32 UTC) #3
gri
LGTM apologies for the delay https://codereview.appspot.com/6524047/diff/3001/src/pkg/go/doc/example.go File src/pkg/go/doc/example.go (right): https://codereview.appspot.com/6524047/diff/3001/src/pkg/go/doc/example.go#newcode97 src/pkg/go/doc/example.go:97: return strings.TrimSpace(last.Text()[loc[1]:]) Why is ...
11 years, 6 months ago (2012-09-28 18:03:37 UTC) #4
adg
11 years, 6 months ago (2012-10-01 22:35:49 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=b09f4985724f ***

go/doc: strip example output comment from synthesized main function

R=gri
CC=gobot, golang-dev
http://codereview.appspot.com/6524047

http://codereview.appspot.com/6524047/diff/3001/src/pkg/go/doc/example.go
File src/pkg/go/doc/example.go (right):

http://codereview.appspot.com/6524047/diff/3001/src/pkg/go/doc/example.go#new...
src/pkg/go/doc/example.go:97: return strings.TrimSpace(last.Text()[loc[1]:])
On 2012/09/28 18:03:38, gri wrote:
> Why is text here not ok? it there's a reason, it needs a comment.

This was an accident of some experimentation I did.
Sign in to reply to this message.

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