Calling not a function should cause a panic #89

Closed
opened 2024-06-20 20:56:51 +00:00 by scott · 1 comment
Owner

Code:

let foo = 42
foo ()

Expected: panic! cannot call 42
Actual: nil

Code: ``` let foo = 42 foo () ``` Expected: `panic! cannot call 42` Actual: `nil`
Author
Owner

Done in 0363d5a091

Done in https://alea.ludus.dev/twc/ludus/commit/0363d5a091339a34dcb57a8d4c9f4c9ceb3fd9a3
scott closed this issue 2024-06-20 21:57:25 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: twc/ludus#89
No description provided.