mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00

I added files unrelated to the syntax tests in the tests/ folder, but that won't scale. Those files aren't meant to be subject to the syntax test and there are more files to come in the future. So this change moves the syntax test related cases into a dedicated sub-folder, as well as the type loader/registry related ones.
21 lines
273 B
Text
21 lines
273 B
Text
|
|
|
|
SuperSimple := Rectangle {
|
|
color: green;
|
|
|
|
for xx Text {}
|
|
// ^error{Invalid 'for' syntax: there should be a 'in' token}
|
|
|
|
|
|
for xx in zz: Hello {
|
|
Rectangle {}
|
|
}
|
|
|
|
Image {
|
|
}
|
|
|
|
for xx[idx] in zz: Hello {
|
|
Rectangle {}
|
|
}
|
|
}
|
|
|