mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
Add unimplemented yield* instruction
This commit is contained in:
@@ -1225,7 +1225,10 @@ impl<'a> ExpressionCompiler<'a> {
|
||||
}
|
||||
};
|
||||
|
||||
let instr = Instruction::Yield(self.fnc.use_(arg_compiled), dst.clone());
|
||||
let instr = match yield_expr.delegate {
|
||||
false => Instruction::Yield(self.fnc.use_(arg_compiled), dst.clone()),
|
||||
true => Instruction::YieldStar(self.fnc.use_(arg_compiled), dst.clone()),
|
||||
};
|
||||
|
||||
self.fnc.push(instr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user