Kmeakin opened PR #9522 from Kmeakin:km/isle/remove-scheme-booleans
to bytecodealliance:main
:
The `#t` and `#f` syntax is misleading: they are actually integer expressions, not booleans, so `#t` represents the integer `1` but *not* the boolean `true`. They have also been replaced by the named constants `$true` and `$false`, and not used anywhere except tests, so they can be removed without breaking any lowering/optimization code.
Kmeakin requested abrown for a review on PR #9522.
Kmeakin requested wasmtime-compiler-reviewers for a review on PR #9522.
Kmeakin edited PR #9522:
The
#t
and#f
syntax is misleading: they are actually expressions, not booleans, so#t
represents the integer1
but not the booleantrue
. They have been replaced by the named constants$true
and$false
, and not used anywhere except tests, so they can be removed without breaking any lowering/optimization code.
Last updated: Nov 22 2024 at 16:03 UTC