slint/internal/compiler/tests/syntax/parse_error/state3.slint
2023-06-16 10:55:08 +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.0 OR LicenseRef-Slint-commercial
export TestCase := Rectangle {
states [
checked when true: {
foo
}
// ^error{Syntax error: expected ':'}
]
}