Move Eq to Bool

This commit is contained in:
Ayaz Hafiz 2022-10-10 15:22:57 -05:00
parent bd5f5ed735
commit a256947a9f
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
19 changed files with 92 additions and 101 deletions

View file

@ -1629,7 +1629,7 @@ mod eq {
a = @LyingEq 10
b = @LyingEq 5
c = @LyingEq 5
if Eq.isEq a b && !(Eq.isEq b c) then
if Bool.isEq a b && !(Bool.isEq b c) then
"okay"
else
"fail"
@ -1647,7 +1647,7 @@ mod eq {
r#"
app "test" provides [main] to "./platform"
main = Eq.isEq 10u8 10u8
main = Bool.isEq 10u8 10u8
"#
),
true,