// Copyright © SixtyFPS GmbH // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0 export component C { out property color-cmp: Colors.red > Colors.blue; // ^error{Values of type color cannot be compared} out property bool-cmp: true > false; // ^error{Values of type bool cannot be compared} out property string-cmp: "eee" > "ddd"; out property array-cmp: [45] < [45]; // ^error{Values of type [float] cannot be compared} out property struct-cmp: { foo: 45 } <= { foo: 45 }; // ^error{Values of type { foo: float,} cannot be compared} }