swift
08c2f85a - AST: Diagnose uses of non-type members of universally unavailable extensions.

Commit
1 day ago
AST: Diagnose uses of non-type members of universally unavailable extensions. Non-type declarations that are universally unavailable should always be diagnosed, regardless of whether the use context is also universally unavailable. The logic for suppressing diagnostics about uses of unavailable declarations in equivalently unavailable contexts accidentally admitted uses of members of universally unavailable extensions specifically, though. Fix this by differntiating the declaration that is being used versus the declaration that is the source of the availability constraints.
Author
Committer
Parents
Loading