mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Availability checking for types was only suppressed when the immediate context for the use of the type was explicitly marked unavailable. Availability is lexical so the checking should be suppressed in the entire scope instead.