mirror of
https://github.com/CPunch/Cosmo.git
synced 2024-11-24 16:11:04 +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);
|
cosmoT_get(&dict->tbl, constants[ident], &val);
|
||||||
|
|
||||||
// call closure/cfunction
|
// call closure/cfunction
|
||||||
if (!callCValue(state, val, args, nres, -1))
|
if (!callCValue(state, val, args, nres, 0))
|
||||||
return -1;
|
return -1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user