mirror of
https://github.com/CPunch/Cosmo.git
synced 2025-12-12 15:00:54 +00:00
minor fix for OP_INVOKE
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user