godot/modules/gdscript/tests/scripts/parser/features/if_after_lambda.gd

8 lines
139 B
GDScript

# https://github.com/godotengine/godot/issues/61231
func test():
var my_lambda = func():
print("hello")
if 0 == 0:
my_lambda.call()