Skip to content

Commit 2695333

Browse files
committed
Fix test (rdar://97280941).
1 parent 28245ef commit 2695333

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/ClangImporter/objc_async.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,12 +386,10 @@ extension SomeWrapper: Sendable where T: Sendable {}
386386
// rdar://96830159
387387
@MainActor class SendableCompletionHandler {
388388
var isolatedThing: [String] = []
389-
// expected-note@-1 {{property declared here}}
390389

391390
func makeCall(slowServer: SlowServer) {
392391
slowServer.doSomethingSlow("churn butter") { (_ : Int) in
393392
let _ = self.isolatedThing
394-
// expected-warning@-1 {{main actor-isolated property 'isolatedThing' can not be referenced from a Sendable closure; this is an error in Swift 6}}
395393
}
396394
}
397395
}

0 commit comments

Comments
 (0)