slint/internal/compiler/generator
Olivier Goffart ff2e2e6731
Compiler: Fix changed callback on private global properties
The code would fail to compile because the property would not be seen as
used and would be removed, but not the change callback.

Fixes #8269

Also fix a segfault in the added test because it will initialize the
change callback (and therefore query the properties) because the
SharedGlobal structure is fully initialized.
So we must only initialize the change callback on global after the
SharedGlobal is fully initialized
2025-04-25 16:10:12 +02:00
..
cpp.rs Compiler: Fix changed callback on private global properties 2025-04-25 16:10:12 +02:00
rust.rs Added Exp and Ln functions to Slint (#8226) 2025-04-25 14:30:38 +02:00