You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
GDScript: Fix parsing unexpected break/continue in lambda
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
func test():
|
||||
for index in range(0, 1):
|
||||
var lambda := func():
|
||||
continue
|
||||
print('not ok')
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_PARSER_ERROR
|
||||
Cannot use "continue" outside of a loop.
|
||||
Reference in New Issue
Block a user