mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[AST] Support @preconcurrency attribute on test/extension inheritance entries
This commit is contained in:
committed by
Pavel Yaskevich
parent
574aee0113
commit
233d279a5c
@@ -746,7 +746,8 @@ public:
|
||||
ASTContext &ctx = M->getASTContext();
|
||||
auto inherits = ctx.AllocateCopy(llvm::makeArrayRef(InheritedEntry(
|
||||
TypeLoc::withoutLoc(proto->getDeclaredInterfaceType()), isUnchecked,
|
||||
/*isRetroactive=*/false)));
|
||||
/*isRetroactive=*/false,
|
||||
/*isPreconcurrency=*/false)));
|
||||
auto extension =
|
||||
ExtensionDecl::create(ctx, SourceLoc(), nullptr, inherits,
|
||||
nominal->getModuleScopeContext(), nullptr);
|
||||
|
||||
Reference in New Issue
Block a user