diff options
author | Danil Alexeev <danil@alexeev.xyz> | 2023-03-15 22:11:02 +0300 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-03-30 19:17:15 +0200 |
commit | 07beae98f04308ebcbaa5f4efc2d5e982b2eda22 (patch) | |
tree | 41570f906cf5476e0b6ab2b96cb3729e4dd27fc8 /modules/gdscript/tests/scripts/runtime/features | |
parent | 47c4044d0306a2eecfe03309c30965695151797a (diff) |
GDScript: Fix false positive `REDUNDANT_AWAIT` warning
(cherry picked from commit c0eeb32e38fbd4f582f7a2726e6535614e507205)
Diffstat (limited to 'modules/gdscript/tests/scripts/runtime/features')
-rw-r--r-- | modules/gdscript/tests/scripts/runtime/features/await_without_coroutine.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/tests/scripts/runtime/features/await_without_coroutine.gd b/modules/gdscript/tests/scripts/runtime/features/await_without_coroutine.gd index 9da61ab184..1c39073be9 100644 --- a/modules/gdscript/tests/scripts/runtime/features/await_without_coroutine.gd +++ b/modules/gdscript/tests/scripts/runtime/features/await_without_coroutine.gd @@ -4,5 +4,5 @@ func test(): print(await not_coroutine()) -func not_coroutine(): +func not_coroutine() -> String: return "awaited" |