File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -311,15 +311,14 @@ void TBDGenVisitor::visitVarDecl(VarDecl *VD) {
311
311
addSymbol (SILDeclRef (VD, SILDeclRef::Kind::GlobalAccessor));
312
312
}
313
313
314
- }
315
-
316
- // Wrapped non-static member properties may have a backing initializer.
317
- if (auto wrapperInfo = VD->getPropertyWrapperBackingPropertyInfo ()) {
318
- if (wrapperInfo.initializeFromOriginal && !VD->isStatic ()) {
319
- addSymbol (
320
- SILDeclRef (VD, SILDeclRef::Kind::PropertyWrapperBackingInitializer));
314
+ // Wrapped non-static member properties may have a backing initializer.
315
+ if (auto wrapperInfo = VD->getPropertyWrapperBackingPropertyInfo ()) {
316
+ if (wrapperInfo.initializeFromOriginal && !VD->isStatic ()) {
317
+ addSymbol (
318
+ SILDeclRef (VD, SILDeclRef::Kind::PropertyWrapperBackingInitializer));
319
+ }
321
320
}
322
- };
321
+ }
323
322
324
323
visitAbstractStorageDecl (VD);
325
324
}
Original file line number Diff line number Diff line change 1
1
// RUN: %target-swift-frontend -emit-ir -o/dev/null -parse-as-library -module-name test -validate-tbd-against-ir=all %s
2
+ // RUN: %target-swift-frontend -emit-ir -o/dev/null -parse-as-library -module-name test -validate-tbd-against-ir=all -enable-library-evolution %s
2
3
3
4
@propertyWrapper
4
5
public struct Wrapper < Value> {
You can’t perform that action at this time.
0 commit comments