// Copyright © SixtyFPS GmbH // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0 export SuperSimple := Rectangle { background: green; for xx Text {} // ^error{Invalid 'for' syntax: there should be a 'in' token} for xx in zz: Hello { Rectangle {} } Image { } for xx[idx] in zz: Hello { Rectangle {} } }