GDScript: Allow using await on calls to void functions
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
func wait() -> void:
|
||||
pass
|
||||
|
||||
func test():
|
||||
@warning_ignore(redundant_await)
|
||||
await wait()
|
||||
print("end")
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_OK
|
||||
end
|
||||
Reference in New Issue
Block a user