aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDamian Gryski <[email protected]>2023-03-18 22:38:42 -0700
committerDamian Gryski <[email protected]>2023-03-19 13:49:55 -0700
commit8fb5877d9ea1a803fa1d9ee3f153ac0a78647693 (patch)
tree60aa4d68c3b5e5fa24efbb81bfebf98b6c830a7d
parent6fbe6fa2ae1e41ce77c8be38b542c382caaecb96 (diff)
downloadtinygo-8fb5877d9ea1a803fa1d9ee3f153ac0a78647693.tar.gz
tinygo-8fb5877d9ea1a803fa1d9ee3f153ac0a78647693.zip
reflect: fix isBinary() for float types
-rw-r--r--src/reflect/type.go2
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: