This commit is contained in:
blueloveTH 2024-05-14 00:10:40 +08:00
parent 4ab7c10ed1
commit 77e3d2e88f

View File

@ -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()