@@ -43,6 +43,7 @@ extension Data: CustomDumpStringConvertible {
43
43
} ( )
44
44
}
45
45
46
+ #if !os(WASI)
46
47
extension Date : CustomDumpStringConvertible {
47
48
public var customDumpDescription : String {
48
49
" Date( \( Self . formatter. string ( from: self ) ) ) "
@@ -55,6 +56,7 @@ extension Date: CustomDumpStringConvertible {
55
56
return formatter
56
57
} ( )
57
58
}
59
+ #endif
58
60
59
61
extension Decimal : CustomDumpStringConvertible {
60
62
public var customDumpDescription : String {
@@ -167,11 +169,13 @@ extension NSMeasurement: CustomDumpRepresentable {
167
169
}
168
170
}
169
171
172
+ #if !os(WASI)
170
173
extension NSNotification : CustomDumpRepresentable {
171
174
public var customDumpValue : Any {
172
175
self as Notification
173
176
}
174
177
}
178
+ #endif
175
179
176
180
extension NSOrderedSet : CustomDumpReflectable {
177
181
public var customDumpMirror : Mirror {
@@ -230,11 +234,13 @@ extension NSURLQueryItem: CustomDumpRepresentable {
230
234
}
231
235
}
232
236
237
+ #if !os(WASI)
233
238
extension NSURLRequest : CustomDumpRepresentable {
234
239
public var customDumpValue : Any {
235
240
self as URLRequest
236
241
}
237
242
}
243
+ #endif
238
244
239
245
extension NSUUID : CustomDumpRepresentable {
240
246
public var customDumpValue : Any {
@@ -269,6 +275,7 @@ extension URL: CustomDumpStringConvertible {
269
275
}
270
276
}
271
277
278
+ #if !os(WASI)
272
279
extension URLRequest . NetworkServiceType : CustomDumpStringConvertible {
273
280
public var customDumpDescription : String {
274
281
switch self { #if canImport(FoundationNetworking)
@@ -309,6 +316,7 @@ extension URLRequest.NetworkServiceType: CustomDumpStringConvertible {
309
316
}
310
317
}
311
318
}
319
+ #endif
312
320
313
321
extension UUID : CustomDumpStringConvertible {
314
322
public var customDumpDescription : String {
0 commit comments