@@ -377,8 +377,8 @@ extension __BridgedNSError where Self: RawRepresentable, Self.RawValue: SignedIn
377
377
}
378
378
379
379
public extension __BridgedNSError where Self: RawRepresentable , Self. RawValue: SignedInteger {
380
- public final var _domain : String { return Self . _nsErrorDomain }
381
- public final var _code : Int { return Int ( rawValue. toIntMax ( ) ) }
380
+ public var _domain : String { return Self . _nsErrorDomain }
381
+ public var _code : Int { return Int ( rawValue. toIntMax ( ) ) }
382
382
383
383
public init ? ( rawValue: RawValue ) {
384
384
self = unsafeBitCast ( rawValue, to: Self . self)
@@ -392,7 +392,7 @@ public extension __BridgedNSError where Self: RawRepresentable, Self.RawValue: S
392
392
self . init ( rawValue: RawValue ( IntMax ( _bridgedNSError. code) ) )
393
393
}
394
394
395
- public final var hashValue : Int { return _code }
395
+ public var hashValue : Int { return _code }
396
396
}
397
397
398
398
// Allow two bridged NSError types to be compared.
@@ -403,8 +403,8 @@ extension __BridgedNSError where Self: RawRepresentable, Self.RawValue: Unsigned
403
403
}
404
404
405
405
public extension __BridgedNSError where Self: RawRepresentable , Self. RawValue: UnsignedInteger {
406
- public final var _domain : String { return Self . _nsErrorDomain }
407
- public final var _code : Int {
406
+ public var _domain : String { return Self . _nsErrorDomain }
407
+ public var _code : Int {
408
408
return Int ( bitPattern: UInt ( rawValue. toUIntMax ( ) ) )
409
409
}
410
410
@@ -420,7 +420,7 @@ public extension __BridgedNSError where Self: RawRepresentable, Self.RawValue: U
420
420
self . init ( rawValue: RawValue ( UIntMax ( UInt ( _bridgedNSError. code) ) ) )
421
421
}
422
422
423
- public final var hashValue : Int { return _code }
423
+ public var hashValue : Int { return _code }
424
424
}
425
425
426
426
/// Describes a raw representable type that is bridged to a particular
0 commit comments