mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
compiler: Ignore leading whitespace when parsing
... and update all out test cases accordingly.
This commit is contained in:
parent
1fbbdf83b2
commit
bbdd6aeab7
49 changed files with 187 additions and 185 deletions
|
@ -4,14 +4,14 @@
|
|||
export SuperSimple := Window {
|
||||
|
||||
opacity: 0.5;
|
||||
// ^warning{The opacity property cannot be used on the root element, it will not be applied}
|
||||
// ^warning{The opacity property cannot be used on the root element, it will not be applied}
|
||||
|
||||
Rectangle {
|
||||
opacity: false;
|
||||
// ^error{Cannot convert bool to float}
|
||||
// ^error{Cannot convert bool to float}
|
||||
}
|
||||
|
||||
visible: false;
|
||||
// ^warning{The visible property cannot be used on the root element, it will not be applied}
|
||||
// ^warning{The visible property cannot be used on the root element, it will not be applied}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue