-
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 5.3:
Functions declared with return type
TNS,MAP,FUNC, orTHRMUST raise a runtime error if control reaches the end of the body without an explicitRETURN.
In the implementation, however, FUNC with implicit MAP returns return <null>.
Prefix REPL. Enter statements, blank line to run buffer.
>>> FUNC MAP: RETMAP(){}
>>> PRINT(RETMAP())
<null>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working