compiler: fix func constness propagation

This commit is contained in:
Alex Badics 2025-02-20 18:43:37 +01:00 committed by Olivier Goffart
parent 61df727c48
commit 848e54a9ac

View file

@ -188,7 +188,7 @@ fn simplify_expression(expr: &mut Expression) -> bool {
if args_can_inline {
if let Some(inlined) = try_inline_function(function, arguments) {
*expr = inlined;
true;
return true;
}
}
false