Skip to content

Commit 3252f7d

Browse files
committed
[Isolated conformances] Don't check results on older runtimes
There are some configurations where we aren't able to fully determine whether isolated conformances are supported in the runtime, so don't check the negative cases.
1 parent 896cbad commit 3252f7d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

test/Concurrency/Runtime/isolated_conformance.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,6 @@ await Task.detached {
173173
precondition(!tryCastToP(wrappedMany))
174174
} else {
175175
print("Cast succeeds, but shouldn't")
176-
precondition(tryCastToP(mc))
177-
precondition(tryCastToP(wrappedMC))
178-
179-
if #available(SwiftStdlib 5.9, *) {
180-
let wrappedMany = WrapMany(wrapped: (17, mc, "Pack"))
181-
precondition(tryCastToP(wrappedMany))
182-
}
183176
}
184177
}.value
185178

0 commit comments

Comments
 (0)