mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
compiler: fix func constness propagation
This commit is contained in:
parent
61df727c48
commit
848e54a9ac
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue