Skip to content

Commit ae505e5

Browse files
authored
Merge pull request #60141 from DougGregor/objc-async-test-fail-5.7
Fix test (rdar://97280941).
2 parents 28245ef + 2695333 commit ae505e5

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)