Skip to content

reflect: Reflect type of value is unexpected #8649

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

Closed
campoy opened this issue Sep 4, 2014 · 1 comment
Closed

reflect: Reflect type of value is unexpected #8649

campoy opened this issue Sep 4, 2014 · 1 comment

Comments

@campoy
Copy link
Contributor

campoy commented Sep 4, 2014

What steps will reproduce the problem?
1. http://play.golang.org/p/oSqQJJpz9g
2. Run it

What is the expected output? What do you see instead?

I expect to see either "type: main.Stringer" since that's the type of the
interface, or "type: *main.Thing" since that's the concrete type.

Instead I see "type: *main.Stringer"
@campoy
Copy link
Contributor Author

campoy commented Sep 4, 2014

Comment 1:

Never mind, I missed the & in the last line.

Status changed to Invalid.

@campoy campoy added the invalid label Sep 4, 2014
@golang golang locked and limited conversation to collaborators Jun 25, 2016
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

2 participants