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 427077b commit 17deda6Copy full SHA for 17deda6
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