swift icon indicating copy to clipboard operation
swift copied to clipboard

Is there possibility that we can use assert(precondition) methods for Actor on older versions?

Open stzn opened this issue 1 year ago • 0 comments

Description

Steps to reproduce

Expected behavior

In SE-0392, some assert(precondition) methods were introduced. https://github.com/apple/swift-evolution/blob/main/proposals/0392-custom-actor-executors.md

We can use them only on more than iOS 17.0(macOS 14.0, , watchOS 10.0, tvOS 17.0). https://developer.apple.com/documentation/swift/actor/assertisolated(_:file:line:) Is there any possibility that we can use these methods on older versions?

related thread: https://forums.swift.org/t/second-review-se-0392-custom-actor-executors/64257/21

Environment

stzn avatar Jun 08 '23 21:06 stzn