1// Copyright © SixtyFPS GmbH <info@slint.dev>
2// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
3
4OtherComp:=Rectangle{
5 out property<string> t <=>t;
6 text :=Text { }
7}
8
9export ae:=Rectangle{
10 OtherComp { t<=>t;}
11// ^error{Property cannot alias to itself}
12// ^^warning{Assigning to output property 't' is deprecated}
13}