mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Change @availability to @available.
This came out of today's language review meeting. The intent is to match #available with the attribute that describes availability. This is a divergence from Objective-C. Swift SVN r28484
This commit is contained in:
@@ -1287,8 +1287,8 @@ namespace decls_block {
|
||||
BCFixed<1>,\
|
||||
BCFixed<1>
|
||||
|
||||
using AvailabilityDeclAttrLayout = BCRecordLayout<
|
||||
Availability_DECL_ATTR,
|
||||
using AvailableDeclAttrLayout = BCRecordLayout<
|
||||
Available_DECL_ATTR,
|
||||
BCFixed<1>, // implicit flag
|
||||
BCFixed<1>, // is unconditionally unavailable?
|
||||
BCFixed<1>, // is unconditionally deprecated?
|
||||
|
||||
Reference in New Issue
Block a user