This commit is contained in:
blueloveTH 2024-06-16 20:16:41 +08:00
parent dfd64e7474
commit e14d4e295a

View File

@ -77,7 +77,7 @@ PyVar Generator::next(VM* vm) {
throw;
}
if(ret->type == tp_op_yield) {
if(ret.type == tp_op_yield) {
// backup the context
lf = vm->callstack.popx();
ret = vm->s_data.popx();