virtualx-engine/modules/gdscript/tests/scripts/analyzer/warnings/lambda_shadowing_arg.gd

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
114 B
GDScript3
Raw Normal View History

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