godot/modules/gdscript/tests/scripts/analyzer/warnings/missing_await.gd

7 lines
117 B
GDScript

func coroutine() -> void:
@warning_ignore("redundant_await")
await 0
func test():
await coroutine()
coroutine()