mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Rename all our .60 files to .slint
This commit is contained in:
parent
3faeb8c523
commit
0c0a783095
365 changed files with 0 additions and 0 deletions
16
internal/compiler/tests/syntax/basic/path.slint
Normal file
16
internal/compiler/tests/syntax/basic/path.slint
Normal file
|
@ -0,0 +1,16 @@
|
|||
// Copyright © SixtyFPS GmbH <info@sixtyfps.io>
|
||||
// SPDX-License-Identifier: (GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)
|
||||
|
||||
|
||||
TestCase := Rectangle {
|
||||
Path {
|
||||
LineTo { x: 100; y: 0; }
|
||||
LineTo { x: 100; y: 0; }
|
||||
LineTo { x: 100; y: 0; }
|
||||
Rectangle {}
|
||||
// ^error{Rectangle is not allowed within Path. Only ArcTo Close CubicTo LineTo MoveTo QuadraticTo are valid children}
|
||||
}
|
||||
|
||||
LineTo { x: 100; y: 0; }
|
||||
// ^error{LineTo can only be within the following elements: Path, PathLayout}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue