Skip to content

Commit 2a36794

Browse files
authored
Merge pull request #36781 from jckarter/unxfail-executor-deinit1
Un-XFAIL test that was failing because of syntax error
2 parents 99a2511 + 5119584 commit 2a36794

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/Concurrency/Runtime/executor_deinit1.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
// REQUIRES: concurrency
55
// REQUIRES: libdispatch
66

7-
// FIXME: this should pass! from rdar://73266050
8-
// XFAIL: *
97

108
// doesn't matter that it's bool identity function or not
119
func boolIdentityFn(_ x : Bool) -> Bool { return x }
@@ -18,7 +16,7 @@ actor FirstActor {
1816

1917
}
2018

21-
deinit() {
19+
deinit {
2220
// CHECK: called deinit
2321
print("called deinit")
2422
}
@@ -29,4 +27,4 @@ actor FirstActor {
2927
let actor = FirstActor()
3028
await actor.startTest() // do not remove this call
3129
}
32-
}
30+
}

0 commit comments

Comments
 (0)