mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 19:17:47 +00:00
runtime: implement comparing uintptr values in interfaces
This was an oversight in https://github.com/tinygo-org/tinygo/pull/686. With this PR, it's possible to compare interface values that contain values/fields of type uintptr.
This commit is contained in:
committed by
Jaden Weiss
parent
fb39e0917b
commit
45b5decb4e
Vendored
+1
@@ -50,6 +50,7 @@ func main() {
|
||||
{true, uint16(1), uint16(1)},
|
||||
{true, uint32(1), uint32(1)},
|
||||
{true, uint64(1), uint64(1)},
|
||||
{true, uintptr(1), uintptr(1)},
|
||||
{true, float32(1.1), float32(1.1)},
|
||||
{true, float64(1.1), float64(1.1)},
|
||||
{true, complex(100, 8), complex(100, 8)},
|
||||
|
||||
Reference in New Issue
Block a user