fix: issue causing incorrect behaviour in math operations

This commit is contained in:
Nat 2024-12-17 21:18:18 -08:00
parent db7df4da37
commit d48a021f85
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ macro_rules! define_binary_op {
let $left = tree.pull_by_stack_code((stack_code & 0b100) >> 2);
let $right = tree.pull_by_stack_code((stack_code & 0b010) >> 1);
let $right = if !use_literal { $left } else { literal };
let $right = if !use_literal { $right } else { literal };
if is_signed {
let $left = $left as i16;