Add opt-in GDScript warning for when calling coroutine without await
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
func coroutine() -> void:
|
||||
@warning_ignore("redundant_await")
|
||||
await 0
|
||||
|
||||
func test():
|
||||
await coroutine()
|
||||
coroutine()
|
||||
Reference in New Issue
Block a user