Downgrade the error about `#isolation` in `@_unsafeInheritExecutor` when the concurrency library is old #75347
Downgrade the error about `#isolation` in `@_unsafeInheritExecutor` w…
d4ba753a
hborla
approved these changes
on 2024-07-18
DougGregor
deleted the isolation-in-unsafe-inherit-downgrade-old-concurrency-lib branch 339 days ago
Assignees
No one assigned
The introduction of the error concerning use of
#isolation
within an@_unsafeInheritExecutor
function was carefully staged between the concurrency library and compiler to avoid breaking source compatibility. However, it is a source compatibility break when dealing certain revisions of the concurrency library that adopted#isolation
prior to the compiler error. Detect when the _Concurrency library doesn't have the necessary workarounds in it and downgrade the error to a warning.Fixes rdar://132023573.