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:
Olivier Goffart 2021-11-02 11:58:05 +01:00
parent 88d050d8ce
commit 64499498b0

View file

@ -10,9 +10,10 @@ LICENSE END */
Xxx := Rectangle {
callback plop(string, color, int);
callback plop2(string, color, int);
property <color> glop_col;
property <string> blah: "yo";
plop(x, blah, hello) => {
plop2(x, blah, hello) => {
background = blah;
x = 42 + hello;
// ^error{Assignment needs to be done on a property}