You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thread 'main' panicked at C:\<<redacted>>\.cargo\registry\src\index.crates.io-6f17d22bba15001f\i-slint-compiler-.6.0\llr\lower_expression.rs:199:13:
The remove return pass should have removed all return
The problem is that the condition contains a return: foo: if ({ return false; }) { "true" } else { "false" }
Not only the returned is not removed, but it is wrong to inline returns
The remove return pass needs to be done before const propagation
Steps to reproduce:
cargo build
bug-demo.zip
The text was updated successfully, but these errors were encountered: