slint/internal/compiler/tests/syntax/parse_error/state3.slint
2022-02-02 10:05:45 +01:00

11 lines
270 B
Text

// Copyright © SixtyFPS GmbH <info@sixtyfps.io>
// SPDX-License-Identifier: (GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)
TestCase := Rectangle {
states [
checked when true: {
foo
}
// ^error{Syntax error: expected ':'}
]
}