We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28245ef commit 2695333Copy full SHA for 2695333
test/ClangImporter/objc_async.swift
@@ -386,12 +386,10 @@ extension SomeWrapper: Sendable where T: Sendable {}
386
// rdar://96830159
387
@MainActor class SendableCompletionHandler {
388
var isolatedThing: [String] = []
389
- // expected-note@-1 {{property declared here}}
390
391
func makeCall(slowServer: SlowServer) {
392
slowServer.doSomethingSlow("churn butter") { (_ : Int) in
393
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}}
395
}
396
397
0 commit comments