summaryrefslogtreecommitdiff
path: root/test/convert.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/convert.go')
-rw-r--r--test/convert.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/convert.go b/test/convert.go
index e7361aa87..0a75663d0 100644
--- a/test/convert.go
+++ b/test/convert.go
@@ -8,7 +8,7 @@ package main
import "reflect"
-func typeof(x interface{}) string { return reflect.Typeof(x).String() }
+func typeof(x interface{}) string { return reflect.TypeOf(x).String() }
func f() int { return 0 }