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.
18 lines
826 B
Text
18 lines
826 B
Text
SuperSimple := Rectangle {
|
|
property<bool> zz: aa > bb == cc
|
|
// ^error{Use parentheses to disambiguate equality expression on the same level}
|
|
< dd;
|
|
// ^error{Use parentheses to disambiguate equality expression on the same level}
|
|
|
|
property<bool> yy: aa <= bb <= cc;
|
|
// ^error{Use parentheses to disambiguate equality expression on the same level}
|
|
property<bool> xx: aa<bb>(d);
|
|
// ^error{Use parentheses to disambiguate equality expression on the same level}
|
|
|
|
property<bool> ww: aa && dd && ee || cc ==
|
|
// ^error{Use parentheses to disambiguate && and ||}
|
|
dd == ee;
|
|
// ^error{Use parentheses to disambiguate equality expression on the same level}
|
|
|
|
}
|
|
|