mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +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
|
@ -6,13 +6,13 @@ export Test := Rectangle {
|
|||
GridLayout {
|
||||
Rectangle {
|
||||
height: 42px;
|
||||
// ^error{Cannot specify both 'height' and 'min-height'}
|
||||
// ^error{Cannot specify both 'height' and 'min-height'}
|
||||
min-height: 42px;
|
||||
max-width: 42px;
|
||||
}
|
||||
Rectangle {
|
||||
width: 42px;
|
||||
// ^error{Cannot specify both 'width' and 'max-width'}
|
||||
// ^error{Cannot specify both 'width' and 'max-width'}
|
||||
min-height: 42px;
|
||||
max-width: 42px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue