godot/modules/gdscript/tests/scripts/analyzer/warnings/lambda_shadowing_arg.gd
2023-01-06 16:38:22 +02:00

7 lines
114 B
GDScript

var shadow: int
func test():
var lambda := func(shadow: String) -> void:
print(shadow)
lambda.call('shadow')