GDScript: Allow using await on calls to void functions

This commit is contained in:
George Marques
2023-01-09 09:55:05 -03:00
parent a3816434a6
commit a1309f1f42
3 changed files with 12 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
func wait() -> void:
pass
func test():
@warning_ignore(redundant_await)
await wait()
print("end")

View File

@@ -0,0 +1,2 @@
GDTEST_OK
end