mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
There are two pieces here: - A -warn-on-potentially-unavailable-enum-case flag is passed down by the driver when *producing* a swiftinterface - When *consuming* a swiftinterface, also enable this behavior Part of rdar://problem/78306593.
5 lines
67 B
Swift
5 lines
67 B
Swift
public enum Horse {
|
|
@available(macOS 100, *)
|
|
case kevin(Int)
|
|
}
|