slint/internal/compiler/tests/syntax/basic/inline_component.slint
Aurindam Jana 9a3aa265d5
Update Royalty-free license (#5257)
Add clarification that Application may not expose Slint APIs.
2024-05-31 10:53:19 +02:00

17 lines
450 B
Text

// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-commercial
Inline1 := Rectangle {
Rectangle {
x: 66phx;
}
}
export SubElements := Rectangle {
Inline1 {
background: yellow;
invalid: yellow;
// ^error{Unknown property invalid in Inline1}
// ^^error{Unknown unqualified identifier 'yellow'}
}
}