Open vookimedlo opened 3 months ago
Find out that the root cause of the issue is hidden in multiple macros:
@MainActor
@Observable
final class TextProperty: ObservableObject, Sendable {
If I remove @Observable
the isolation checker provides feedback.
@vookimedlo I verified and this is already fixed.
(going to try to find a toolchain for you that you can use to validate this)
(also, thank you for filing the bug report! They are really helpful!)
Description
I got the
Pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
.I stripped down the code from our application to the bare minimum.
The issue is observable on line containing the following code:
await image.drawText(text: property.text)
Reproduction
Expected behavior
The result of the isolation checker shall be provided (compilation without any warnings vs. isolation warnings/errors). Now the isolation check cannot be completed which is wrong.
Environment
Swift toolchain from the XCode 16 beta 3
Additional information
No response