Skip to content

Commit a6fc1b7

Browse files
authored
Merge pull request swiftlang#36902 from DougGregor/data-race-fix-ios-availability
Fix iOS availability
2 parents fb55ced + 78cb4ff commit a6fc1b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Concurrency/Runtime/data_race_detection.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func promiseMainThread(_ fn: @escaping @MainActor () -> Void) -> (() -> Void) {
2828
}
2929

3030
func launchTask(_ fn: @escaping () -> Void) {
31-
if #available(macOS 10.10, iOS 7.0, watchOS 2.0, tvOS 8.0, *) {
31+
if #available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 8.0, *) {
3232
DispatchQueue.global().async {
3333
fn()
3434
}

0 commit comments

Comments
 (0)