virtualx-engine/modules/gdscript/tests/scripts/analyzer/warnings/lambda_unused_arg.gd
George Marques defa46bfd1
GDScript: Don't use validated call for vararg methods
Since they may have runtime type validation, we cannot use the validated
call.
2023-02-24 14:06:02 -03:00

4 lines
92 B
GDScript

func test():
var lambda := func(unused: Variant) -> void:
pass
lambda.call("something")