Files
swift-mirror/test/SILGen/Inputs/availability_optionals_other.swift
Ted Kremenek 62feb5c949 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
2015-05-12 20:06:13 +00:00

7 lines
141 B
Swift

@available(OSX, introduced=10.9)
let globalAvailableOn10_9: Int = 9
@available(OSX, introduced=10.10)
let globalAvailableOn10_10: Int = 10