mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 05:44:52 +00:00
28 lines
736 B
Text
28 lines
736 B
Text
/* LICENSE BEGIN
|
|
This file is part of the SixtyFPS Project -- https://sixtyfps.io
|
|
Copyright (c) 2020 Olivier Goffart <olivier.goffart@sixtyfps.io>
|
|
Copyright (c) 2020 Simon Hausmann <simon.hausmann@sixtyfps.io>
|
|
|
|
SPDX-License-Identifier: GPL-3.0-only
|
|
This file is also available under commercial licensing terms.
|
|
Please contact info@sixtyfps.io for more information.
|
|
LICENSE END */
|
|
|
|
X := Rectangle {
|
|
|
|
x: 42px;
|
|
x: 32px;
|
|
// ^error{Duplicated property binding}
|
|
width: 12px;
|
|
width <=> self.height;
|
|
// ^error{Duplicated property binding}
|
|
|
|
not_exist <=> 12px;
|
|
// ^error{Unknown property not_exist in Rectangle}
|
|
|
|
property <int> foo: 12;
|
|
foo: 13;
|
|
// ^error{Duplicated property binding}
|
|
|
|
|
|
}
|