From defa46bfd1d9e391ced336306c93ecdff38a7ce7 Mon Sep 17 00:00:00 2001 From: George Marques Date: Fri, 24 Feb 2023 13:42:59 -0300 Subject: GDScript: Don't use validated call for vararg methods Since they may have runtime type validation, we cannot use the validated call. --- modules/gdscript/tests/scripts/analyzer/warnings/lambda_unused_arg.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gdscript/tests') diff --git a/modules/gdscript/tests/scripts/analyzer/warnings/lambda_unused_arg.gd b/modules/gdscript/tests/scripts/analyzer/warnings/lambda_unused_arg.gd index 6fc90ea29c..1e5c10b7d5 100644 --- a/modules/gdscript/tests/scripts/analyzer/warnings/lambda_unused_arg.gd +++ b/modules/gdscript/tests/scripts/analyzer/warnings/lambda_unused_arg.gd @@ -1,4 +1,4 @@ func test(): var lambda := func(unused: Variant) -> void: pass - lambda.call() + lambda.call("something") -- cgit v1.2.3