You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a documentation issue. The word 'exported' should appear in the explanation.
rakyll
changed the title
NumMethod from reflect package doesn't return not exported members of method sets
reflect: NumMethod doesn't return not exported members of method sets
Oct 31, 2016
What version of Go are you using (
go version
)?go version go1.7.1 darwin/amd64
What operating system and processor architecture are you using (
go env
)?Repro
https://play.golang.org/p/eXoyuqajG6
Expected result
I expect to see method
n
also printed out and language spec doesn't enforce that method set contains only exported identifiers.Currently it displays only info about
M
:The text was updated successfully, but these errors were encountered: