mirror of
https://github.com/golang/go.git
synced 2024-09-21 18:38:37 +00:00
reflect: correct function name in panic string
R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/36840045
This commit is contained in:
parent
8189605a96
commit
c0946afb9c
@ -81,7 +81,7 @@ type methodValue struct {
|
||||
// by code like Convert and Interface and Assign.
|
||||
func makeMethodValue(op string, v Value) Value {
|
||||
if v.flag&flagMethod == 0 {
|
||||
panic("reflect: internal error: invalid use of makePartialFunc")
|
||||
panic("reflect: internal error: invalid use of makeMethodValue")
|
||||
}
|
||||
|
||||
// Ignoring the flagMethod bit, v describes the receiver, not the method type.
|
||||
|
Loading…
Reference in New Issue
Block a user