diff options
| author | Danil Alexeev <danil@alexeev.xyz> | 2023-03-15 22:11:02 +0300 |
|---|---|---|
| committer | Danil Alexeev <danil@alexeev.xyz> | 2023-03-16 14:04:14 +0300 |
| commit | c0eeb32e38fbd4f582f7a2726e6535614e507205 (patch) | |
| tree | df43f691db3279e784bf4855f9413fdebbfb3e39 /modules/gdscript/tests/scripts/runtime | |
| parent | bdefdc866b7733741d310085d6617a6fa8881405 (diff) | |
| download | redot-engine-c0eeb32e38fbd4f582f7a2726e6535614e507205.tar.gz | |
GDScript: Fix false positive `REDUNDANT_AWAIT` warning
Diffstat (limited to 'modules/gdscript/tests/scripts/runtime')
| -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" |
