mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Replaces generic `expression is 'async' but is not marked with 'await` diagnostic with a tailed one for cases where there is an access to an actor-isolated value outside of its actor without `await` keyword. This makes the diagnostics for async and sync contexts consistent and actually identifies a problem instead of simply pointing out the solution. Resolves: rdar://151720646 (cherry picked from commit 7a6ba8e8c58c58b3438f31fec06102d02bae81a5)
873 B
873 B