reflect: fix isBinary() for float types

Этот коммит содержится в:
Damian Gryski 2023-03-18 22:38:42 -07:00 коммит произвёл Damian Gryski
родитель 6fbe6fa2ae
коммит 8fb5877d9e

Просмотреть файл

@ -972,8 +972,6 @@ func (t *rawType) isBinary() bool {
switch t.Kind() { switch t.Kind() {
case Bool, Int, Int8, Int16, Int32, Int64, Uint, Uint8, Uint16, Uint32, Uint64, Uintptr: case Bool, Int, Int8, Int16, Int32, Int64, Uint, Uint8, Uint16, Uint32, Uint64, Uintptr:
return true return true
case Float32, Float64, Complex64, Complex128:
return true
case Pointer: case Pointer:
return true return true
case Array: case Array: