We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
any Sendable
1 parent 6741653 commit 7b9421dCopy full SHA for 7b9421d
include/swift/AST/Types.h
@@ -347,6 +347,8 @@ enum class TypeMatchFlags {
347
AllowCompatibleOpaqueTypeArchetypes = 1 << 5,
348
/// Ignore the @Sendable attributes on functions when matching types.
349
IgnoreFunctionSendability = 1 << 6,
350
+ /// Ignore `any Sendable` and compositions with Sendable protocol.
351
+ IgnoreSendability = 1 << 7,
352
};
353
using TypeMatchOptions = OptionSet<TypeMatchFlags>;
354
0 commit comments