Skip to content

Commit fb187bf

Browse files
committed
Fix a test
(cherry picked from commit a451fe6)
1 parent 2dcd174 commit fb187bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/DebugInfo/sending_params_and_results.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ public struct SendableStruct: Sendable {
1414
//
1515
// @escaping @callee_guaranteed (@guaranteed sending Swift.Result<test.SendableStruct, Swift.Error>) -> ()
1616
//
17-
// CHECK: !{{[0-9]+}} = !DICompositeType(tag: DW_TAG_structure_type, name: "$ss6ResultOy4test14SendableStructVs5Error_pGIeggT_D", flags: DIFlagFwdDecl, runtimeLang: DW_LANG_Swift)
17+
// CHECK: !{{[0-9]+}} = !DICompositeType(tag: DW_TAG_structure_type, name: "$ss6ResultOy4test14SendableStructVs5Error_pGIeggT_D",
1818
func testReconstructingEscapingClosureWithSendingParam() async throws -> SendableStruct {
1919
func callSendableFunction(_ x: @Sendable () -> ()) {}
2020

21-
func helper(_ completion: @escaping (Result<SendableStruct, Swift.Error>) -> Void) {
21+
func helper(_ completion: @escaping (__shared sending Result<SendableStruct, Swift.Error>) -> Void) {
2222
fatalError()
2323
}
2424

0 commit comments

Comments
 (0)