Skip to content

Commit

Permalink
Allows CustomDump to build on visionOS/xrOS (pointfreeco#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysm94 authored Jun 21, 2023
1 parent 9bc7670 commit 2751e27
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Sources/CustomDump/Conformances/CoreLocation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@
@available(iOS 7, macOS 10.15, *)
@available(tvOS, unavailable)
@available(watchOS, unavailable)
#if compiler(>=5.9)
@available(xrOS, unavailable)
#endif
extension CLProximity: CustomDumpStringConvertible {
public var customDumpDescription: String {
switch self {
Expand All @@ -102,6 +105,9 @@
@available(iOS 7, macOS 10, *)
@available(tvOS, unavailable)
@available(watchOS, unavailable)
#if swift(>=5.9)
@available(xrOS, unavailable)
#endif
extension CLRegionState: CustomDumpStringConvertible {
public var customDumpDescription: String {
switch self {
Expand Down

0 comments on commit 2751e27

Please sign in to comment.