summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/runtime
diff options
context:
space:
mode:
authorDanil Alexeev <danil@alexeev.xyz>2023-03-15 22:11:02 +0300
committerDanil Alexeev <danil@alexeev.xyz>2023-03-16 14:04:14 +0300
commitc0eeb32e38fbd4f582f7a2726e6535614e507205 (patch)
treedf43f691db3279e784bf4855f9413fdebbfb3e39 /modules/gdscript/tests/scripts/runtime
parentbdefdc866b7733741d310085d6617a6fa8881405 (diff)
downloadredot-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.gd2
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"