Avatar
@swift-6.0.3 -swift-version 6 protocol P { func f(_: @escaping @Sendable () -> ()) } struct S: P { func f(_: @escaping @MainActor () -> ()) {} } (edited)