// Copyright © SixtyFPS GmbH // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial Compo1 := Rectangle { property a : aa(); // ^error{The binding for the property 'a' is part of a binding loop} pure callback aa() -> int; function factorial(n: int) -> int { // ^error{The binding for the property 'factorial' is part of a binding loop} return n == 0 ? 1 : factorial(n - 1) * n; } property b; public pure function bb() -> int { return b; } // ^error{The binding for the property 'bb' is part of a binding loop} } export App := Rectangle { cc := Compo1 { aa() => { return self.a; } // ^error{The binding for the property 'aa' is part of a binding loop} b: self.bb(); // ^error{The binding for the property 'b' is part of a binding loop} } }