slint/internal/compiler/tests/syntax/basic/easing_not_called.slint
2022-02-02 17:19:31 +01:00

9 lines
346 B
Text

// Copyright © SixtyFPS GmbH <info@sixtyfps.io>
// SPDX-License-Identifier: (GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)
// Cannot be put in the easing.slint test because it is in a different pass
X := Rectangle {
property <int> g; animate g { easing: cubic-bezier; }
// ^error{must be called}
}