mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-14 16:08:02 -05:00
Use take on iter_res
This commit is contained in:
@@ -1089,7 +1089,7 @@ impl FunctionCompiler {
|
||||
self.push(Instruction::Next(iter_reg, iter_res_reg.clone()));
|
||||
|
||||
self.push(Instruction::UnpackIterRes(
|
||||
iter_res_reg,
|
||||
iter_res_reg.take(),
|
||||
value_reg,
|
||||
done_reg,
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user