mirror of
https://github.com/apple/swift.git
synced 2026-02-27 18:26:24 +01:00
Don't trasfer "preconcurrency" from isolation onto a declaration if the declaration doesn't support it. This is especially important for `MainActor` by default mode where each `@MainActor` injection site gets marked as `@preconcurrency` implicitly in pre-6 language modes. Resolves: https://github.com/swiftlang/swift/issues/85564
802 B
802 B