mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When referring to an actor-isolated declaration from outside of the actor, ensure that the types involved conform to the `ConcurrentValue` protocol. Otherwise, produce a diagnostic stating that it is unsafe to pass such types across actors. Apply the same rule to local captures within concurrent code.
74 KiB
74 KiB