diff options
author | Damian Gryski <[email protected]> | 2023-03-18 22:38:42 -0700 |
---|---|---|
committer | Damian Gryski <[email protected]> | 2023-03-19 13:49:55 -0700 |
commit | 8fb5877d9ea1a803fa1d9ee3f153ac0a78647693 (patch) | |
tree | 60aa4d68c3b5e5fa24efbb81bfebf98b6c830a7d | |
parent | 6fbe6fa2ae1e41ce77c8be38b542c382caaecb96 (diff) | |
download | tinygo-8fb5877d9ea1a803fa1d9ee3f153ac0a78647693.tar.gz tinygo-8fb5877d9ea1a803fa1d9ee3f153ac0a78647693.zip |
reflect: fix isBinary() for float types
-rw-r--r-- | src/reflect/type.go | 2 |
1 files changed, 0 insertions, 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: |