godot/modules/gdscript/tests/scripts/analyzer/warnings/lambda_unused_arg.gd

5 lines
81 B
GDScript

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