summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts/analyzer
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2023-02-24 13:42:59 -0300
committerGeorge Marques <george@gmarqu.es>2023-02-24 14:06:02 -0300
commitdefa46bfd1d9e391ced336306c93ecdff38a7ce7 (patch)
tree924e0755acedeabfbc136f5f206996208f7bba20 /modules/gdscript/tests/scripts/analyzer
parent6296b46008fb8d8e5cb9b60af05fa1ea26b8f600 (diff)
GDScript: Don't use validated call for vararg methods
Since they may have runtime type validation, we cannot use the validated call.
Diffstat (limited to 'modules/gdscript/tests/scripts/analyzer')
-rw-r--r--modules/gdscript/tests/scripts/analyzer/warnings/lambda_unused_arg.gd2
1 files changed, 1 insertions, 1 deletions
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")