slint/internal/compiler/tests/syntax/lookup
Olivier Goffart ac8fd60091 Fix regression with empty array
Regression noticed in this line:
3f97d98bff/ui/tabs/downloads.slint (L77)

The following used to work:

```slint
import { Button, VerticalBox } from "std-widgets.slint";
export component Demo {
    in property <[int]> mods;
    VerticalBox {
        alignment: start;
        for xxx in true ? mods : [] : HorizontalLayout { alignment: center; Button { text: "OK!"; } }
    }
}
```

But we fixed array conversion and this caused a regression with empty
array
2023-11-01 11:30:59 +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