diff --git a/src/reflect/type.go b/src/reflect/type.go index 5bbab79fc0..f48f9cf09d 100644 --- a/src/reflect/type.go +++ b/src/reflect/type.go @@ -593,6 +593,7 @@ const ( kindMask = (1 << 5) - 1 ) +// String returns the name of k. func (k Kind) String() string { if int(k) < len(kindNames) { return kindNames[k]