swift
5b88b966 - [Concurrency] Apply `@preconcurrency` to typealiases at the point of use.

Commit
3 years ago
[Concurrency] Apply `@preconcurrency` to typealiases at the point of use. When referencing a `@preconcurrency` typealias from code that does not require strict concurrency, strip off `@Sendable` and global actor types. This is consistent with references to functions/properties/etc. that are `@preconcurrency`. Fixes https://github.com/apple/swift/issues/60487, rdar://98343624.
Author
Committer
Parents
Loading