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

Issue 6854096: code review 6854096: spec: add () to method calls in examples (Closed)

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

Description

spec: add () to method calls in examples Since p.M is rejected (must call methods), use p.M(), to keep the examples compiling. Fixes issue 4441.

Patch Set 1 #

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

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

Total comments: 1

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M doc/go_spec.html View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 3
rsc
Hello gri (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 6 months ago (2012-11-26 16:01:49 UTC) #1
gri
LGTM https://codereview.appspot.com/6854096/diff/5001/doc/go_spec.html File doc/go_spec.html (right): https://codereview.appspot.com/6854096/diff/5001/doc/go_spec.html#newcode3 doc/go_spec.html:3: "Subtitle": "Version of November 21, 2012", s/21/26/
12 years, 6 months ago (2012-11-26 17:00:44 UTC) #2
rsc
12 years, 6 months ago (2012-11-26 20:43:38 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=6c34332cb98b ***

spec: add () to method calls in examples

Since p.M is rejected (must call methods), use p.M(),
to keep the examples compiling.

Fixes issue 4441.

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

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