fix: use default construct method

This commit is contained in:
TopchetoEU 2024-12-09 23:39:05 +02:00
parent 3f5e1a5fd8
commit 65f9debecc
Signed by: topchetoeu
GPG Key ID: 6531B8583E5F6ED4

View File

@ -43,7 +43,7 @@ public class InstructionRunner {
var callArgs = frame.take(instr.get(0));
var funcObj = frame.pop();
frame.push(funcObj.construct(env, instr.get(1), callArgs));
frame.push(funcObj.construct(env, callArgs));
frame.codePtr++;
return null;