Fix lambda parsing continuing on subsequent lines #73273

This commit is contained in:
今井きなみ
2023-06-20 00:47:18 +02:00
parent 329652b6fe
commit bf04c55175
5 changed files with 93 additions and 1 deletions
@@ -0,0 +1,6 @@
# https://github.com/godotengine/godot/issues/73273
func not_called():
var v
v=func(): v=1
in v
@@ -0,0 +1,2 @@
GDTEST_PARSER_ERROR
Expected statement, found "in" instead.