aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2013-12-12 18:54:48 -0800
committerIan Lance Taylor <iant@golang.org>2013-12-12 18:54:48 -0800
commitc0946afb9c6281987692da33679d021ca2487339 (patch)
treefc9c043cc0e85851b1aa8ce3aaafdddfa1f5e55f /src
parent8189605a9681385c8464d72a13541b683fe88cdd (diff)
downloadgo-c0946afb9c6281987692da33679d021ca2487339.tar.xz
reflect: correct function name in panic string
R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/36840045
Diffstat (limited to 'src')
-rw-r--r--src/pkg/reflect/makefunc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/reflect/makefunc.go b/src/pkg/reflect/makefunc.go
index e1608ea6c4..9b1b7d5721 100644
--- a/src/pkg/reflect/makefunc.go
+++ b/src/pkg/reflect/makefunc.go
@@ -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.