-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Open
Labels
DocumentationIssues describing a change to documentation.Issues describing a change to documentation.NeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.SuggestedIssues that may be good for new contributors looking for work to do.Issues that may be good for new contributors looking for work to do.compiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.help wanted
Milestone
Description
Go version
1.24
Output of go env
in your module/workspace:
not relevant
What did you do?
Calling reflect.Value.Seq()
panics if the value is unexported (CanInterface()
returns false), but the documentation doesn't mention it.
What did you see happen?
It panics
What did you expect to see?
The documentation should explain that Seq()
and Seq2()
can be called if CanInterface()
returns true, otherwise it panics.
I guess we should add the same warning to Call()
and CallSlice()
Metadata
Metadata
Assignees
Labels
DocumentationIssues describing a change to documentation.Issues describing a change to documentation.NeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.SuggestedIssues that may be good for new contributors looking for work to do.Issues that may be good for new contributors looking for work to do.compiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.help wanted
Type
Projects
Status
Todo