Avatar
Additionally, top-level code is not considered an asynchronous context in this proposal, so the following program is ill-formed: ```swift func f() async -> String { "hello, asynchronously" } print(await f()) // error: cannot call asynchronous function in top-level code ``` This, too, will be addressed in a subsequent proposal that properly accounts for top-level variables.
5:54 AM
トップレベルについての議論の最新状態がどうなってるのかは知らない。