Refactor function argument passing into what it always should have been.
Most visible change is that error messages when a function is called with the wrong number of arguments are much better.
This commit is contained in:
1 parent
a88d53d2fd
commit
616e8f9924
8 files changed
+103
-105
No files matched your search
@@ -22,7 +22,6 @@ OP(CALL_BUILTIN, CFUNC, -1, 1)
|
||||
OP(CALL_JQ, UFUNC, 1, 1)
|
||||
OP(RET, NONE, 1, 1)
|
||||
|
||||
OP(CALLSEQ_END, CALLSEQ_END_IMM, 0, 0)
|
||||
OP(CLOSURE_PARAM, DEFINITION, 0, 0)
|
||||
OP(CLOSURE_REF, CLOSURE_REF_IMM, 0, 0)
|
||||
OP(CLOSURE_CREATE, DEFINITION, 0, 0)
|
||||
|
||||
Reference in new issue
Block a user