Merge pull request #52906 from vnen/gdscript-show-error-on-yield

This commit is contained in:
Rémi Verschelde 2021-09-21 20:36:39 +02:00 committed by GitHub
commit 679f70c1e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 1 deletions

View file

@ -0,0 +1,6 @@
#GDTEST_PARSER_ERROR
signal event
func test():
yield("event")

View file

@ -0,0 +1,2 @@
GDTEST_PARSER_ERROR
"yield" was removed in Godot 4.0. Use "await" instead.