From 64499498b0acd55cebebef8f28fd319cada14867 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Tue, 2 Nov 2021 11:58:05 +0100 Subject: [PATCH] Fix the syntax_tests We now get an error in recursive functions, but that's not the point of this test --- sixtyfps_compiler/tests/syntax/lookup/signal_arg.60 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sixtyfps_compiler/tests/syntax/lookup/signal_arg.60 b/sixtyfps_compiler/tests/syntax/lookup/signal_arg.60 index 3fcb943dc..3effe3128 100644 --- a/sixtyfps_compiler/tests/syntax/lookup/signal_arg.60 +++ b/sixtyfps_compiler/tests/syntax/lookup/signal_arg.60 @@ -10,9 +10,10 @@ LICENSE END */ Xxx := Rectangle { callback plop(string, color, int); + callback plop2(string, color, int); property glop_col; property blah: "yo"; - plop(x, blah, hello) => { + plop2(x, blah, hello) => { background = blah; x = 42 + hello; // ^error{Assignment needs to be done on a property}