missed another hoist over

This commit is contained in:
microproofs 2024-02-04 13:06:21 -05:00 committed by Kasey
parent 713b16e25d
commit dc195b22d4
1 changed files with 1 additions and 1 deletions

View File

@ -956,7 +956,7 @@ impl<'a> CodeGenerator<'a> {
} else if !props.remove_unused { } else if !props.remove_unused {
AirTree::let_assignment(name, value, then) AirTree::let_assignment(name, value, then)
} else { } else {
AirTree::no_op() AirTree::no_op().hoist_over(then)
} }
} }
Pattern::List { elements, tail, .. } => { Pattern::List { elements, tail, .. } => {