slint/internal/compiler/tests/syntax/lookup
Olivier Goffart 5d4c390b0f
Compiler: Error when assigning to compile time properties
Some property need to be known at compile time. We already had checks
that the binding is a compile time constant, but there was no check to
prevent, say

    self.row = 42;

which wouldn't work or could even cause panic or miscompilation of
generated code

Closes #4037
2023-12-12 21:51:56 +01:00
..
absolute-position.slint Compiler: Error when assigning to compile time properties 2023-12-12 21:51:56 +01:00
array_index.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
callback_alias.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
callback_alias2.slint Don't panic when an unresolved alias has a binding 2023-07-14 14:13:48 +02:00
callback_alias3.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
callback_not_called.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
callback_return.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
color.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
conversion.slint Fix regression with empty array 2023-11-01 11:30:59 +01:00
dashes.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
deprecated_property.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
enum.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
for_lookup.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
global.slint Disallow access to internal globals (NativeStyleMetrics and SlintInternal) 2023-10-28 16:07:38 +02:00
if.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
issue_1461.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
property.slint Disallow access to internal globals (NativeStyleMetrics and SlintInternal) 2023-10-28 16:07:38 +02:00
recover_id_lookup.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
signal_arg.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
two_way_binding.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
two_way_binding_infer.slint Don't panic when an unresolved alias has a binding 2023-07-14 14:13:48 +02:00
two_way_binding_model.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00