mirror of
https://github.com/CPunch/Cosmo.git
synced 2025-06-01 12:50:08 +00:00
minor fix for OP_INVOKE
This commit is contained in:
parent
c5ee704317
commit
e57c194837
@ -772,7 +772,7 @@ int cosmoV_execute(CState *state) {
|
||||
cosmoT_get(&dict->tbl, constants[ident], &val);
|
||||
|
||||
// call closure/cfunction
|
||||
if (!callCValue(state, val, args, nres, -1))
|
||||
if (!callCValue(state, val, args, nres, 0))
|
||||
return -1;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user