mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This affects module interfaces, interface generation in sourcekitd, and diagnostics. Also fixes a fixit that was assuming the 'OSX' spelling when computing the source range to replace. Resolves rdar://problem/64667960
19 lines
525 B
Plaintext
19 lines
525 B
Plaintext
class MaybeAvailable {
|
|
@available(macOS 10.1, *)
|
|
class func method1()
|
|
@available(macOS 10.1, *)
|
|
func method1()
|
|
@available(macOS 10.1, *)
|
|
class func method2()
|
|
@available(macOS 10.1, *)
|
|
func method2()
|
|
@available(macOS, deprecated: 10.10)
|
|
class func method3()
|
|
@available(macOS, deprecated: 10.10)
|
|
func method3()
|
|
@available(macOS, introduced: 10.1, deprecated: 10.10, obsoleted: 10.11)
|
|
class func method4()
|
|
@available(macOS, introduced: 10.1, deprecated: 10.10, obsoleted: 10.11)
|
|
func method4()
|
|
}
|