reflect: fix isBinary() for float types

This commit is contained in:
Damian Gryski
2023-03-18 22:38:42 -07:00
committed by Damian Gryski
parent 6fbe6fa2ae
commit 8fb5877d9e
-2
View File
@@ -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: