Compilation error non-primitive cast: '(f64, f64)' as '(f32, f32)'
in function returning struct
#5887
Labels
non-primitive cast: '(f64, f64)' as '(f32, f32)'
in function returning struct
#5887
Found this error while using SDrawer from Surrealism UI.
Error
Code
Versions
Same on stable
Same on WSL
Repo
repro repo https://github.com/JakubKoralewski/slint-non-primitive-cast-f64-f64-f32-f32-repro
Notes
Seems to work on slintpad. Same error with return keyword.
Fixed when using named struct:
The text was updated successfully, but these errors were encountered: