mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Eventually, querying the `AvailabilityDomain` associated with an `AvailabilitySpec` will require invoking a request that takes a `DeclContext`. This means that any diagnostics related to the domain identified by an `AvailabilitySpec` need to be emitted during type-checking rather than parsing. This change migrates several `AvailabilitySpec` diagnostics from Parse to Sema to unblock further work.
7.9 KiB
7.9 KiB