056a54db7b
If the keyword `await` is used without a coroutine, it should still return the value synchronally.
9 lines
138 B
GDScript
9 lines
138 B
GDScript
# https://github.com/godotengine/godot/issues/50894
|
|
|
|
func test():
|
|
print(await not_coroutine())
|
|
|
|
|
|
func not_coroutine():
|
|
return "awaited"
|