mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
13 lines
314 B
Text
13 lines
314 B
Text
// Copyright © SixtyFPS GmbH <info@sixtyfps.io>
|
|
// SPDX-License-Identifier: (GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)
|
|
|
|
Xxx := Rectangle {
|
|
|
|
foo := Rectangle {
|
|
callback hello(int) -> int;
|
|
}
|
|
|
|
callback bar(int) -> int;
|
|
bar <=> foo.hello;
|
|
// ^error{Unknown property bar in Rectangle}
|
|
}
|