1
0
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:
CPunch 2021-01-07 20:04:42 -06:00
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;
}