mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Module printing and serialization support for @unchecked Sendable
This commit is contained in:
@@ -4202,8 +4202,9 @@ static ConstraintResult visitInherited(
|
||||
ASTContext &ctx = typeDecl ? typeDecl->getASTContext()
|
||||
: extDecl->getASTContext();
|
||||
auto &evaluator = ctx.evaluator;
|
||||
ArrayRef<TypeLoc> inheritedTypes = typeDecl ? typeDecl->getInherited()
|
||||
: extDecl->getInherited();
|
||||
ArrayRef<InheritedEntry> inheritedTypes =
|
||||
typeDecl ? typeDecl->getInherited()
|
||||
: extDecl->getInherited();
|
||||
for (unsigned index : indices(inheritedTypes)) {
|
||||
Type inheritedType
|
||||
= evaluateOrDefault(evaluator,
|
||||
|
||||
Reference in New Issue
Block a user