aboutsummaryrefslogtreecommitdiff
path: root/src/reflect/type.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/reflect/type.go')
-rw-r--r--src/reflect/type.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/reflect/type.go b/src/reflect/type.go
index 5c6e3d5500..3bfff4a7cc 100644
--- a/src/reflect/type.go
+++ b/src/reflect/type.go
@@ -1985,6 +1985,7 @@ func FuncOf(in, out []Type, variadic bool) Type {
if len(args) > 50 {
panic("reflect.FuncOf does not support more than 50 arguments")
}
+ ft.tflag = 0
ft.hash = hash
ft.inCount = uint16(len(in))
ft.outCount = uint16(len(out))