From 8fb5877d9ea1a803fa1d9ee3f153ac0a78647693 Mon Sep 17 00:00:00 2001 From: Damian Gryski Date: Sat, 18 Mar 2023 22:38:42 -0700 Subject: reflect: fix isBinary() for float types --- src/reflect/type.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/reflect/type.go b/src/reflect/type.go index 1d13fa0e2..f3b69efce 100644 --- a/src/reflect/type.go +++ b/src/reflect/type.go @@ -972,8 +972,6 @@ func (t *rawType) isBinary() bool { switch t.Kind() { case Bool, Int, Int8, Int16, Int32, Int64, Uint, Uint8, Uint16, Uint32, Uint64, Uintptr: return true - case Float32, Float64, Complex64, Complex128: - return true case Pointer: return true case Array: -- cgit v1.2.3