Merge pull request #52906 from vnen/gdscript-show-error-on-yield
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#GDTEST_PARSER_ERROR
|
||||
|
||||
signal event
|
||||
|
||||
func test():
|
||||
yield("event")
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_PARSER_ERROR
|
||||
"yield" was removed in Godot 4.0. Use "await" instead.
|
||||
Reference in New Issue
Block a user