// 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 Test { property condition; GridLayout { // Issue #3729 if (condition) : r := Row { // ^error{'if' or 'for' expressions are not currently supported in grid layouts} Rectangle {} } } }