slint/internal/compiler/tests/syntax/parse_error/state3.slint
2023-07-10 10:12:11 +02:00

11 lines
307 B
Text

// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
export TestCase := Rectangle {
states [
checked when true: {
foo
}
// ^error{Syntax error: expected ':'}
]
}