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

Issue 144110044: code review 144110044: go/doc: treat _ consts as exported (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 7 months ago by josharian
Modified:
9 years, 7 months ago
Reviewers:
gri, adg, minux, rsc
CC:
adg, golang-codereviews
Visibility:
Public.

Description

go/doc: treat _ consts as exported Fixes issue 5397.

Patch Set 1 #

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

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

Patch Set 4 : diff -r 9517f108393aa4330a74159c445a5b01079d3add https://code.google.com/p/go #

Patch Set 5 : diff -r bd80d679678b9119b70bddde16bfb402efb974c2 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -9 lines) Patch
M src/go/doc/exports.go View 1 2 5 chunks +12 lines, -9 lines 0 comments Download
A src/go/doc/testdata/blank.go View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
A src/go/doc/testdata/blank.0.golden View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
A src/go/doc/testdata/blank.1.golden View 1 2 1 chunk +46 lines, -0 lines 0 comments Download
A src/go/doc/testdata/blank.2.golden View 1 2 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 15
josharian
Hello gri@golang.org (cc: golang-codereviews@googlegroups.com, rsc@golang.org), I'd like you to review this change to https://code.google.com/p/go
9 years, 7 months ago (2014-09-18 22:23:05 UTC) #1
josharian
In issue 7815, Russ considered also treating struct fields named _ as exported. This CL ...
9 years, 7 months ago (2014-09-18 22:23:18 UTC) #2
adg
LGTM
9 years, 7 months ago (2014-09-18 22:32:06 UTC) #3
josharian
*** Submitted as https://code.google.com/p/go/source/detail?r=f504e66669e7 *** go/doc: treat _ consts as exported Fixes issue 5397. LGTM=adg ...
9 years, 7 months ago (2014-09-18 22:42:15 UTC) #4
gri
What happens in cases such as: const ( dummy T = iota C1 C2 C3 ...
9 years, 7 months ago (2014-09-18 22:57:01 UTC) #5
adg
On 19 September 2014 08:57, <gri@golang.org> wrote: > What happens in cases such as: > ...
9 years, 7 months ago (2014-09-18 23:04:21 UTC) #6
gri
I don't know that we have code like this, but I can easily imagine that ...
9 years, 7 months ago (2014-09-18 23:08:22 UTC) #7
adg
On 19 September 2014 09:08, Robert Griesemer <gri@golang.org> wrote: > I don't know that we ...
9 years, 7 months ago (2014-09-18 23:12:00 UTC) #8
rsc
On Thu, Sep 18, 2014 at 7:08 PM, Robert Griesemer <gri@golang.org> wrote: > I don't ...
9 years, 7 months ago (2014-09-18 23:19:42 UTC) #9
minux
On Sep 18, 2014 7:19 PM, "Russ Cox" <rsc@golang.org> wrote: > On Thu, Sep 18, ...
9 years, 7 months ago (2014-09-18 23:28:07 UTC) #10
rsc
9 years, 7 months ago (2014-09-18 23:32:50 UTC) #11
rsc
On Thu, Sep 18, 2014 at 7:28 PM, minux <minux@golang.org> wrote: > > On Sep ...
9 years, 7 months ago (2014-09-18 23:32:56 UTC) #12
gri
I am not against this fix per se, it's fine for 1.4. But there should ...
9 years, 7 months ago (2014-09-18 23:50:37 UTC) #13
josharian
> I propose that godoc should always show the type if it's not shown already. ...
9 years, 7 months ago (2014-09-19 00:47:01 UTC) #14
gri
9 years, 7 months ago (2014-09-19 02:49:05 UTC) #15
cool, great to hear! 1.5 sounds good.
- gri

On Thu, Sep 18, 2014 at 5:47 PM, <josharian@gmail.com> wrote:

> I propose that godoc should always show the type if it's not shown
>>
> already.
>
> CL 144140043 is a down payment on this; there's some very fiddly
> position-adjusting to do to get the output to look right. It's in my
> queue of CLs to revisit for Go 1.5.
>
>
> https://codereview.appspot.com/144110044/
>
Sign in to reply to this message.

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