Skip to content

Commit 61fd949

Browse files
authored
Merge pull request #72451 from rjmccall/fix-isolated-any-test-again-6.0
[6.0] Another prospective fix to this test
2 parents a3b4d06 + bb0eb8d commit 61fd949

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/SILGen/isolated_any.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,6 @@ func testEraseInheritingSyncNonIsolatedClosure() {
210210
// CHECK-NEXT: [[TAKE_FN:%.*]] = function_ref @$s4test29takeInheritingSyncIsolatedAny2fnyyyYbYAc_tF
211211
// CHECK-NEXT: apply [[TAKE_FN]]([[CLOSURE]])
212212
// CHECK-NEXT: destroy_value [[CLOSURE]]
213-
// CHECK-NEXT: tuple ()
214-
// CHECK-NEXT: return
215213
@MainActor
216214
func testEraseInheritingSyncMainActorClosure() {
217215
takeInheritingSyncIsolatedAny { @MainActor in
@@ -321,8 +319,6 @@ func testEraseInheritingAsyncNonIsolatedClosure() {
321319
// CHECK-NEXT: [[TAKE_FN:%.*]] = function_ref @$s4test30takeInheritingAsyncIsolatedAny2fnyyyYaYbYAc_tF
322320
// CHECK-NEXT: apply [[TAKE_FN]]([[CLOSURE]])
323321
// CHECK-NEXT: destroy_value [[CLOSURE]]
324-
// CHECK-NEXT: tuple ()
325-
// CHECK-NEXT: return
326322
@MainActor
327323
func testEraseInheritingAsyncMainActorClosure() {
328324
takeInheritingAsyncIsolatedAny {
@@ -355,8 +351,6 @@ actor MyGlobalActorInstance {}
355351
// CHECK-NEXT: [[TAKE_FN:%.*]] = function_ref @$s4test30takeInheritingAsyncIsolatedAny2fnyyyYaYbYAc_tF
356352
// CHECK-NEXT: apply [[TAKE_FN]]([[CLOSURE]])
357353
// CHECK-NEXT: destroy_value [[CLOSURE]]
358-
// CHECK-NEXT: tuple ()
359-
// CHECK-NEXT: return
360354
@MyGlobalActor
361355
func testEraseInheritingAsyncGlobalActorClosure() {
362356
takeInheritingAsyncIsolatedAny {

0 commit comments

Comments
 (0)