[Pitch] Inferring @Sendable for methods and key path literals

Thank you for pointing this out! I agree. I think a key-path literal that contains an isolated property in its path can only be formed in that isolation domain, and it should not be Sendable. This also means that it is an error to form a key path that contains two path components with different global actors applied.

5 Likes