Files
Stephen Celis f48c096f85 Swift Language Support: Drop <5.9, Add 6.0 (#121)
* Swift Language Support: Drop <5.9, Add 6.0

* wip

* wip

* wip

* wip

* wip
2024-06-18 08:03:05 -07:00

15 lines
415 B
Swift

import Foundation
extension AnyKeyPath: CustomDumpStringConvertible {
public var customDumpDescription: String {
if #available(macOS 13.3, iOS 16.4, watchOS 9.4, tvOS 16.4, *) {
return self.debugDescription
}
return """
\(typeName(Self.self))<\
\(typeName(Self.rootType, genericsAbbreviated: false)), \
\(typeName(Self.valueType, genericsAbbreviated: false))>
"""
}
}