GDScript: Fix if after lambda being seen as ternary

This commit is contained in:
George Marques
2022-05-23 21:13:25 -03:00
parent 0a28b4cd94
commit 969f1980d2
3 changed files with 10 additions and 1 deletions

View File

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