Skip to content

Commit

Permalink
Merge branch '__rultor' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed Feb 27, 2022
2 parents ee4d49c + ccf557c commit 27c1697
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/main/resources/stdlib/prim__boolean.eo
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[] > prim__boolean
[] > new
[] > this
"prim__boolean" > primName
TRUE > is-prim

memory > v
Expand All @@ -12,6 +13,18 @@
self.v.write
t

[right] > write
seq > @
if.
right.primName.eq
"prim__boolean"
seq
^.v.write
right.v
^
[]
"error: incompatible types: possible lossy conversion from double to boolean" > msg

[] > as-string
seq > @
if.
Expand Down

0 comments on commit 27c1697

Please sign in to comment.