From 77e3d2e88fe5b1c91298c4ae166fd34bc1ded78e Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Tue, 14 May 2024 00:10:40 +0800 Subject: [PATCH] some fix --- src/vm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm.cpp b/src/vm.cpp index a4eb0f3b..0ec1c31e 100644 --- a/src/vm.cpp +++ b/src/vm.cpp @@ -1133,7 +1133,7 @@ PyVar VM::vectorcall(int ARGC, int KWARGC, bool op_call){ p1[-(ARGC + 2)] = call_f; p1[-(ARGC + 1)] = self; // [call_f, self, args..., kwargs...] - return vectorcall(ARGC, KWARGC, false); + return vectorcall(ARGC, KWARGC, op_call); } TypeError(_type_name(vm, callable_t).escape() + " object is not callable"); PK_UNREACHABLE()