-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
According to the specification section 4.5.3:
When a
MAPis used in a boolean context, aMAPMUST be treated as1if it contains any key-value pairs, MUST be treated as0otherwise.
In the implementation, however, MAP is always falsy.
Prefix REPL. Enter statements, blank line to run buffer.
>>> PRINT(BOOL(<>))
0b0
>>> PRINT(BOOL(<"foo" = 0b1>))
0b0
>>>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working