Commit 88c55d8
committed
Downgrade the error about
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.#isolation in @_unsafeInheritExecutor when the concurrency library is old1 parent 5b50361 commit 88c55d8
1 file changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3964 | 3964 | | |
3965 | 3965 | | |
3966 | 3966 | | |
| 3967 | + | |
| 3968 | + | |
| 3969 | + | |
| 3970 | + | |
| 3971 | + | |
| 3972 | + | |
| 3973 | + | |
| 3974 | + | |
| 3975 | + | |
| 3976 | + | |
| 3977 | + | |
| 3978 | + | |
| 3979 | + | |
| 3980 | + | |
3967 | 3981 | | |
3968 | 3982 | | |
3969 | 3983 | | |
| |||
3984 | 3998 | | |
3985 | 3999 | | |
3986 | 4000 | | |
| 4001 | + | |
| 4002 | + | |
| 4003 | + | |
| 4004 | + | |
| 4005 | + | |
| 4006 | + | |
3987 | 4007 | | |
3988 | 4008 | | |
3989 | 4009 | | |
| |||
0 commit comments