1
0

Find a solution for the removal of the SetLocal instruction

This commit is contained in:
Jeff 2025-02-03 18:11:45 -05:00
parent 12092c30f4
commit 03103e4fa1

View File

@ -1608,6 +1608,9 @@ impl<'src> Compiler<'src> {
self.current_scope,
);
// The last instruction is now an assignment, so it should not yield a value
self.instructions.last_mut().unwrap().1 = Type::None;
Ok(())
}