Avatar
Avatar
kntk
@swift-5.10 @swift-5.9.2 struct Box {} struct AsyncBox {} func f(_ a: Box) { print("sync") } func f(_ a: AsyncBox) async { print("async") } func hoge() async { await f(.init()) } await hoge() (edited)
swift510 BOT 4/4/2024 5:38 PM
async (edited)