mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Promote AssociatedTypeAvailability feature to the baseline.
This commit is contained in:
@@ -150,11 +150,6 @@ static bool usesFeaturePrimaryAssociatedTypes2(Decl *decl) {
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool usesFeatureAssociatedTypeAvailability(Decl *decl) {
|
||||
return isa<AssociatedTypeDecl>(decl) &&
|
||||
decl->getAttrs().hasAttribute<AvailableAttr>();
|
||||
}
|
||||
|
||||
static bool isImplicitRethrowsProtocol(const ProtocolDecl *proto) {
|
||||
return proto->isSpecificProtocol(KnownProtocolKind::AsyncSequence) ||
|
||||
proto->isSpecificProtocol(KnownProtocolKind::AsyncIteratorProtocol);
|
||||
|
||||
Reference in New Issue
Block a user