Avatar
@swift-6.0.3 -swift-version 6 func takeMetatype<T>(_: (T.Type) -> (T) -> () -> ()) -> T { } class NonSendable { static func foo() { let _: NonSendable = takeMetatype { $0.bar } } func bar() { } }