Skip to content

Commit c9cb122

Browse files
Merge pull request #77326 from sophiapoirier/preconcurrency_import_warning_for_suppressed_sendable_diagnostic_comment
[Concurrency] add comment about bug causing Sendable conformance test…
2 parents df7cac3 + b132671 commit c9cb122

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/Concurrency/sendable_conformance_checking.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ public struct TestSendableWitnesses2 : NoSendableReqs {
211211
@preconcurrency func f(handler: @escaping @MainActor @Sendable (Int) -> Void)
212212
}
213213

214+
// TODO: The following error should actually be a warning.
214215
// expected-complete-and-tns-error @+2 {{type 'TestEscapingOnly' does not conform to protocol 'EscapingSendableProtocol'}}
215216
// expected-complete-and-tns-note @+1 {{add stubs for conformance}}
216217
class TestEscapingOnly: EscapingSendableProtocol {

0 commit comments

Comments
 (0)