We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e90b36 commit a028e06Copy full SHA for a028e06
Sources/Foundation/NSSpecialValue.swift
@@ -82,10 +82,8 @@ internal class NSSpecialValue : NSValue {
82
preconditionFailure("Unkeyed coding is unsupported.")
83
}
84
let specialFlags = aDecoder.decodeInteger(forKey: "NS.special")
85
- guard let specialType = NSSpecialValue._typeFromFlags(specialFlags) else {
86
- return nil
87
- }
88
- guard let specialValue = specialType.init(coder: aDecoder) else {
+ guard let specialType = NSSpecialValue._typeFromFlags(specialFlags),
+ let specialValue = specialType.init(coder: aDecoder) else {
89
return nil
90
91
self.init(specialValue)
0 commit comments