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

Issue 13427045: code review 13427045: go/doc: restore handling of multi-paragraph BUG comments (Closed)

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

Description

go/doc: restore handling of multi-paragraph BUG comments It was lost when the generic "Notes" support went in. Had to change the test setup, because it precluded even being able test multi-line comments, much less multi-paragraph comments. Now 'godoc sync/atomic' works correctly again. Fixes issue 6135.

Patch Set 1 #

Patch Set 2 : diff -r 677a33edec74 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 8ef79645ac2e https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -45 lines) Patch
M src/pkg/go/doc/doc_test.go View 1 2 chunks +10 lines, -0 lines 0 comments Download
M src/pkg/go/doc/reader.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/go/doc/synopsis.go View 1 2 chunks +9 lines, -3 lines 0 comments Download
M src/pkg/go/doc/testdata/a.0.golden View 1 1 chunk +33 lines, -13 lines 0 comments Download
M src/pkg/go/doc/testdata/a.1.golden View 1 1 chunk +33 lines, -13 lines 0 comments Download
M src/pkg/go/doc/testdata/a.2.golden View 1 1 chunk +33 lines, -13 lines 0 comments Download
A src/pkg/go/doc/testdata/bugpara.go View 1 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/go/doc/testdata/bugpara.0.golden View 1 1 chunk +20 lines, -0 lines 0 comments Download
A src/pkg/go/doc/testdata/bugpara.1.golden View 1 1 chunk +20 lines, -0 lines 0 comments Download
A src/pkg/go/doc/testdata/bugpara.2.golden View 1 1 chunk +20 lines, -0 lines 0 comments Download
M src/pkg/go/doc/testdata/template.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
11 years, 6 months ago (2013-09-09 23:56:47 UTC) #1
bradfitz
LGTM Chunk mismatches or I'd reply inline, but: slight preference towards defining an int type ...
11 years, 6 months ago (2013-09-10 18:03:43 UTC) #2
rsc
yeah, if it were exported i definitely would.
11 years, 6 months ago (2013-09-10 18:40:30 UTC) #3
rsc
11 years, 6 months ago (2013-09-10 18:41:23 UTC) #4
*** Submitted as https://code.google.com/p/go/source/detail?r=0b312b2f362b ***

go/doc: restore handling of multi-paragraph BUG comments

It was lost when the generic "Notes" support went in.

Had to change the test setup, because it precluded even
being able test multi-line comments, much less multi-paragraph
comments.

Now 'godoc sync/atomic' works correctly again.

Fixes issue 6135.

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

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