Avatar
@swift-6.0-dev -swift-version 5 -strict-concurrency=complete class R { func foo() async {} } @MainActor func main() async { Task { @MainActor () in let r = R() await r.foo() } }