mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41:14 +00:00
Fix the syntax_tests
We now get an error in recursive functions, but that's not the point of this test
This commit is contained in:
parent
88d050d8ce
commit
64499498b0
1 changed files with 2 additions and 1 deletions
|
@ -10,9 +10,10 @@ LICENSE END */
|
||||||
|
|
||||||
Xxx := Rectangle {
|
Xxx := Rectangle {
|
||||||
callback plop(string, color, int);
|
callback plop(string, color, int);
|
||||||
|
callback plop2(string, color, int);
|
||||||
property <color> glop_col;
|
property <color> glop_col;
|
||||||
property <string> blah: "yo";
|
property <string> blah: "yo";
|
||||||
plop(x, blah, hello) => {
|
plop2(x, blah, hello) => {
|
||||||
background = blah;
|
background = blah;
|
||||||
x = 42 + hello;
|
x = 42 + hello;
|
||||||
// ^error{Assignment needs to be done on a property}
|
// ^error{Assignment needs to be done on a property}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue