Add unimplemented yield instruction

This commit is contained in:
Andrew Morris
2023-05-31 14:20:45 +10:00
parent 0eda3716ae
commit 12bfe5bf7f
7 changed files with 21 additions and 2 deletions

View File

@@ -549,6 +549,10 @@ impl StackFrameTrait for BytecodeStackFrame {
return Ok(FrameStepOk::Push(Box::new(cat_frame)));
}
Yield => {
panic!("TODO: yield");
}
};
Ok(FrameStepOk::Continue)