Skip to content

Commit 6c99e1a

Browse files
stephencelisisthisjoe
authored andcommitted
Fix Xcode 15.3 Release Crash (pointfreeco#108)
A SIL function we load seems to be unavailable, so let's limit old key path printing to DEBUG builds.
1 parent 51698ec commit 6c99e1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CustomDump/Conformances/KeyPath.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if os(iOS) || os(macOS) || os(tvOS) || os(watchOS)
1+
#if DEBUG && os(iOS) || os(macOS) || os(tvOS) || os(watchOS)
22
extension AnyKeyPath: CustomDumpStringConvertible {
33
public var customDumpDescription: String {
44
guard let name = keyPathToName[self] else {

0 commit comments

Comments
 (0)