mirror of
https://github.com/janet-lang/janet
synced 2025-10-17 00:37:39 +00:00
Fix #509
janet_fiber returns NULL if there is a bad arity, check that before continuing.
This commit is contained in:
@@ -74,4 +74,6 @@
|
||||
(ev/cancel fiber "boop")
|
||||
(ev/sleep 0.1)
|
||||
|
||||
(assert-error "bad arity to ev/call" (ev/call inc 1 2 3))
|
||||
|
||||
(end-suite)
|
||||
|
Reference in New Issue
Block a user