Skip to content

[6.0] Another prospective fix to this test #72451

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions test/SILGen/isolated_any.swift
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,6 @@ func testEraseInheritingSyncNonIsolatedClosure() {
// CHECK-NEXT: [[TAKE_FN:%.*]] = function_ref @$s4test29takeInheritingSyncIsolatedAny2fnyyyYbYAc_tF
// CHECK-NEXT: apply [[TAKE_FN]]([[CLOSURE]])
// CHECK-NEXT: destroy_value [[CLOSURE]]
// CHECK-NEXT: tuple ()
// CHECK-NEXT: return
@MainActor
func testEraseInheritingSyncMainActorClosure() {
takeInheritingSyncIsolatedAny { @MainActor in
Expand Down Expand Up @@ -321,8 +319,6 @@ func testEraseInheritingAsyncNonIsolatedClosure() {
// CHECK-NEXT: [[TAKE_FN:%.*]] = function_ref @$s4test30takeInheritingAsyncIsolatedAny2fnyyyYaYbYAc_tF
// CHECK-NEXT: apply [[TAKE_FN]]([[CLOSURE]])
// CHECK-NEXT: destroy_value [[CLOSURE]]
// CHECK-NEXT: tuple ()
// CHECK-NEXT: return
@MainActor
func testEraseInheritingAsyncMainActorClosure() {
takeInheritingAsyncIsolatedAny {
Expand Down Expand Up @@ -355,8 +351,6 @@ actor MyGlobalActorInstance {}
// CHECK-NEXT: [[TAKE_FN:%.*]] = function_ref @$s4test30takeInheritingAsyncIsolatedAny2fnyyyYaYbYAc_tF
// CHECK-NEXT: apply [[TAKE_FN]]([[CLOSURE]])
// CHECK-NEXT: destroy_value [[CLOSURE]]
// CHECK-NEXT: tuple ()
// CHECK-NEXT: return
@MyGlobalActor
func testEraseInheritingAsyncGlobalActorClosure() {
takeInheritingAsyncIsolatedAny {
Expand Down