1#![allow(deprecated)]slint::slint!{#[include_path=r#"/input/slint/tests/driver/driverlib/../../cases/issues"#]
2// Copyright © SixtyFPS GmbH <info@slint.dev>
3// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
4
5
6export struct Color {
7 SharedVector: string,
8}
9
10export struct SharedString {
11 Model: string,
12 Component: int,
13}
14
15export struct ComponentHandle {
16 SharedString: string,
17}
18
19export struct Model {
20 _self: Color,
21}
22
23export component TestCase {
24 in-out property<Model> Model: {_self: { SharedVector: "ddd" }};
25 in-out property<SharedString> SharedString: {Model: Model._self.SharedVector };
26 in-out property<[ComponentHandle]> Rectangle: [{SharedString: SharedString.Model}];
27}
28
29}
30