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

reflect: documentation of Value.Interface not in line with current behaviour regarding Value.Method #6460

Closed
stevenblenkinsop opened this issue Sep 23, 2013 · 2 comments

Comments

@stevenblenkinsop
Copy link

What is the expected output?

This program demonstrates the current behaviour of reflect.Value.Interface:
http://play.golang.org/p/tJX7EJ-FM1

It prints "In T.M." rather than crashing on the call to Value.Interface. This
is the expected behaviour since go1.1:
golang.org/s/go11func

What do you see instead?

The current documentation reflects the old behaviour of Value.Interface in relation to
Value.Method:
http://tip.golang.org/pkg/reflect/#Value.Interface
@adg
Copy link
Contributor

adg commented Sep 24, 2013

Comment 1:

https://golang.org/cl/13761046

Owner changed to @adg.

Status changed to Started.

@adg
Copy link
Contributor

adg commented Sep 24, 2013

Comment 2:

This issue was closed by revision 2d2ae53.

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 25, 2016
@rsc rsc unassigned adg Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants