mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-14 16:08:02 -05:00
Fix spreadAndReturn
This commit is contained in:
@@ -524,6 +524,7 @@ impl StackFrameTrait for BytecodeStackFrame {
|
||||
|
||||
let cat_frame = CatStackFrame::from_args(self.decoder.decode_vec_val(&self.registers));
|
||||
|
||||
self.this_target = None;
|
||||
self.return_target = self.decoder.decode_register_index();
|
||||
|
||||
return Ok(FrameStepOk::Push(Box::new(cat_frame)));
|
||||
|
||||
Reference in New Issue
Block a user