summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-25 01:36:19 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-25 01:36:19 +0100
commit3863199ab940272f6844ff30910ec7a520e47f41 (patch)
treea2aff1c834d63f0408b6958a29f72f2af0c7fe19 /modules/gdscript/tests
parent52033c68f5d32ce53a7bcda187e3cc7ef423b381 (diff)
parented81b165ebb6eba5369d0677ef98429ac2d9a6c9 (diff)
Merge pull request #73881 from vnen/max-min-only-for-numbers
Make max() and min() global functions only accept numbers
Diffstat (limited to 'modules/gdscript/tests')
-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")