1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

GDScript: Fix false positive REDUNDANT_AWAIT warning

This commit is contained in:
Danil Alexeev
2023-03-15 22:11:02 +03:00
parent bdefdc866b
commit c0eeb32e38
5 changed files with 93 additions and 3 deletions

View File

@@ -4,5 +4,5 @@ func test():
print(await not_coroutine())
func not_coroutine():
func not_coroutine() -> String:
return "awaited"