mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Metadata uniquing might encounter witness tables that were distinctly generated but come from identical descriptors. Handle this case in metadata uniquing be looking into the protocol conformance descriptors themselves.
15 lines
268 B
Swift
15 lines
268 B
Swift
import CoreLocation
|
|
import Foundation
|
|
|
|
public func getCLError() -> Any.Type {
|
|
return CLError.self
|
|
}
|
|
|
|
public func getCLErrorCode() -> Any.Type {
|
|
return CLError.Code.self
|
|
}
|
|
|
|
public func getNotificationNameSet() -> Any.Type {
|
|
return Set<NSNotification.Name>.self
|
|
}
|