Skip to content

Commit 1073fce

Browse files
committed
add conditional conformance
1 parent 32d16dc commit 1073fce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/public/core/KeyPath.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3738,8 +3738,10 @@ fileprivate func dynamicLibraryAddress<Base, Leaf>(
37383738
}
37393739
}
37403740

3741+
@available(SwiftStdLib 5.7, *)
37413742
extension AnyKeyPath: CustomDebugStringConvertible {
37423743

3744+
@available(SwiftStdLib 5.7, *)
37433745
public var debugDescription: String {
37443746
var description = "\\\(String(describing: Self.rootType))"
37453747
return withBuffer {

0 commit comments

Comments
 (0)