mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-14 07:57:57 -05:00
Generators now work
This commit is contained in:
@@ -553,7 +553,10 @@ impl StackFrameTrait for BytecodeStackFrame {
|
||||
}
|
||||
|
||||
Yield => {
|
||||
panic!("TODO: yield");
|
||||
let val = self.decoder.decode_val(&self.registers);
|
||||
self.decoder.decode_register_index(); // TODO: Use this
|
||||
|
||||
return Ok(FrameStepOk::Yield(val));
|
||||
}
|
||||
|
||||
YieldStar => {
|
||||
|
||||
Reference in New Issue
Block a user