Skip to content

Commit 630f28d

Browse files
committed
Enable a test case for addressable lifetimes.
1 parent e37fc23 commit 630f28d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/SILOptimizer/lifetime_dependence/addressable_lifetime_with_resilience.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ public struct Resilient {
1717
borrowing func getSpan() -> RawSpan { fatalError() }
1818
}
1919

20-
/*
21-
// TODO (rdar://151268401): We still get spurious errors about escaping `self`
22-
// in cases where the wrapped type is concretely addressable-for-dependencies.
2320
internal struct AFDWrapper {
2421
let inner: AFDResilient
2522

@@ -32,4 +29,3 @@ public struct AFDResilient {
3229
@_lifetime(borrow self)
3330
borrowing func getSpan() -> RawSpan { fatalError() }
3431
}
35-
*/

0 commit comments

Comments
 (0)