Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spec: Go spec method expressions/values - tidy up #7988

Open
gopherbot opened this issue May 13, 2014 · 2 comments
Open

spec: Go spec method expressions/values - tidy up #7988

gopherbot opened this issue May 13, 2014 · 2 comments

Comments

@gopherbot
Copy link

by xunfin:

As per note at Golang Nuts

https://groups.google.com/forum/#!topic/golang-nuts/6ltLyMGuAS8

The two sections http://golang.org/ref/spec#Method_expressions and
http://golang.org/ref/spec#Method_values are a little verbose (much more than a full
verticle screen each - in contrast to most/all other sections in spec) and maybe have
too many examples.

I suggested that stating

 "if t is a variable of type T and M(x) is in the method set of T then:

  T.M(t,x) is the same as t.M(x)"

Could help in clarifying (see original post)

There is no issue with behaviour or specification - just length/clarity of text.
@ianlancetaylor
Copy link
Contributor

Comment 1:

Labels changed: added repo-main, release-none, documentation.

@griesemer
Copy link
Contributor

Comment 2:

Owner changed to @griesemer.

Status changed to Accepted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants