Skip to content

Commit e57cf51

Browse files
[tests] Add SR number that tracks diagnostic Qol issue
1 parent 1945129 commit e57cf51

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/Concurrency/sr15049.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func testAsyncSequence1Sendable<Seq: AsyncSequence>(_ seq: Seq) async throws whe
1919
async let _ = seq.reduce(0) { $0 + $1 } // OK
2020
}
2121

22-
// TODO(diagnostics): Add a tailored wording for implicit autoclosure captures in sendable warnings, because
22+
// TODO(diagnostics) [SR-16092]: Add a tailored wording for implicit autoclosure captures in sendable warnings, because
2323
// from user perspective there is no closure capture, so diagnostic can be confusing.
2424
func testAsyncSequenceTypedPattern<Seq: AsyncSequence>(_ seq: Seq) async throws where Seq.Element == Int {
2525
async let result: Int = seq.reduce(0) { $0 + $1 } // OK

test/Serialization/Inputs/def_async.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ public func doSerializedAsyncLet() async {
88
@_alwaysEmitIntoClient
99
public func doSerializedAsyncLetTyped() async {
1010
async let _ : () = ()
11-
}
11+
}

0 commit comments

Comments
 (0)