Skip to content

Commit bb36a87

Browse files
authored
Update hasBackdeployedConcurrencyRuntime logic
1 parent 4c28e82 commit bb36a87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

validation-test/stdlib/ArrayTrapsObjC.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ func hasBackdeployedConcurrencyRuntime() -> Bool {
9090
//
9191
// This makes the two tests below fall back to older, higher-level exclusivity
9292
// checks in the stdlib, which will still trap, but with a different message.
93-
if #available(SwiftStdlib 5.5, *) { return false }
93+
if #available(SwiftStdlib 5.5, *) { return false } // recent enough production stdlib
94+
if #available(SwiftStdlib 9999, *) { return false } // dev stdlib
9495
return true
9596
}
9697

0 commit comments

Comments
 (0)