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

Issue 6974045: code review 6974045: go/doc: don't synthesize code for examples that are not... (Closed)

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

Description

go/doc: don't synthesize code for examples that are not self-contained Fixes issue 4309.

Patch Set 1 #

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

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

Messages

Total messages: 7
adg
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 4 months ago (2012-12-19 23:22:17 UTC) #1
rsc
It looks like the current code does: 1. Find top-level names in this file. 2. ...
11 years, 4 months ago (2012-12-20 19:28:23 UTC) #2
adg
The second list seems incomplete. How does it determine which are top-level names? How about: ...
11 years, 4 months ago (2012-12-20 19:48:25 UTC) #3
rsc
> How about: > > 1. Walk the example function, noting: > 1a. names declared ...
11 years, 4 months ago (2012-12-20 19:57:15 UTC) #4
adg
On 21 December 2012 06:57, Russ Cox <rsc@golang.org> wrote: > That's fine. So should I ...
11 years, 4 months ago (2012-12-20 20:00:27 UTC) #5
rsc
LGTM It looks fine now that I know you have to handle those top-level resolved ...
11 years, 4 months ago (2012-12-20 20:04:50 UTC) #6
adg
11 years, 4 months ago (2012-12-20 20:06:47 UTC) #7
*** Submitted as https://code.google.com/p/go/source/detail?r=41b82b6b2ccd ***

go/doc: don't synthesize code for examples that are not self-contained

Fixes issue 4309.

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

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