File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6343,9 +6343,9 @@ ConstructorDecl::getDelegatingOrChainedInitKind(DiagnosticEngine *diags,
6343
6343
// non-delegating. However, if the struct isn't fixed-layout, we have to
6344
6344
// be delegating because, well, we don't know the layout.
6345
6345
// A dynamic replacement is permitted to be non-delegating.
6346
- if (( NTD->isResilient () ||
6347
- containingModule->getASTContext ().isSwiftVersionAtLeast (5 ) ) &&
6348
- !getAttrs ().getAttribute <DynamicReplacementAttr>()) {
6346
+ if (NTD->isResilient () ||
6347
+ ( containingModule->getASTContext ().isSwiftVersionAtLeast (5 ) &&
6348
+ !getAttrs ().getAttribute <DynamicReplacementAttr>() )) {
6349
6349
if (containingModule != NTD->getParentModule ())
6350
6350
Kind = BodyInitKind::Delegating;
6351
6351
}
You can’t perform that action at this time.
0 commit comments