mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-23 04:50:17 +00:00
some fix
This commit is contained in:
parent
dfd64e7474
commit
e14d4e295a
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user