Skip to content

Commit

Permalink
Merge remote-tracking branch 'main-upstream/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
egorklementev committed Feb 27, 2022
2 parents fdc6a9c + 27c1697 commit f604103
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 f604103

Please sign in to comment.