File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -7835,6 +7835,7 @@ static Expr *wrapAsyncLetInitializer(
7835
7835
bool throws = TypeChecker::canThrow (initializer);
7836
7836
auto extInfo = ASTExtInfoBuilder ()
7837
7837
.withAsync ()
7838
+ .withConcurrent ()
7838
7839
.withThrows (throws)
7839
7840
.build ();
7840
7841
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ enum SomeError: Error {
16
16
// CHECK-LABEL: sil hidden [ossa] @$s4test0A11AsyncLetIntSiyYF : $@convention(thin) @async () -> Int
17
17
func testAsyncLetInt( ) async -> Int {
18
18
// CHECK: [[I:%.*]] = mark_uninitialized [var] %0
19
- // CHECK: [[CLOSURE:%.*]] = function_ref @$s4test0A11AsyncLetIntSiyYFSiyYcfu_ : $@convention(thin) @async () -> Int
19
+ // CHECK: [[CLOSURE:%.*]] = function_ref @$s4test0A11AsyncLetIntSiyYFSiyYJcfu_ : $@convention(thin) @async () -> Int
20
20
// CHECK: [[THICK_CLOSURE:%.*]] = thin_to_thick_function [[CLOSURE]] : $@convention(thin) @async () -> Int to $@async @callee_guaranteed () -> Int
21
21
// CHECK: [[REABSTRACT_THUNK:%.*]] = function_ref @$sSiIegHd_Sis5Error_pIegHrzo_TR : $@convention(thin) @async (@guaranteed @async @callee_guaranteed () -> Int) -> (@out Int, @error Error)
22
22
// CHECK: [[REABSTRACT_CLOSURE:%.*]] = partial_apply [callee_guaranteed] [[REABSTRACT_THUNK]]([[THICK_CLOSURE]]) : $@convention(thin) @async (@guaranteed @async @callee_guaranteed () -> Int) -> (@out Int, @error Error)
You can’t perform that action at this time.
0 commit comments