File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
stdlib/public/Darwin/Foundation Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -266,9 +266,9 @@ fileprivate struct _PlistKeyedEncodingContainer<K : CodingKey> : KeyedEncodingCo
266
266
267
267
public mutating func nestedContainer< NestedKey> ( keyedBy keyType: NestedKey . Type , forKey key: Key ) -> KeyedEncodingContainer < NestedKey > {
268
268
let containerKey = key. stringValue
269
- let existingContainer = self . container [ containerKey]
269
+ let existingContainer = self . container [ containerKey]
270
270
precondition ( existingContainer is NSMutableDictionary ? ,
271
- " Attempt to request for keyed container with the key that previously unkeyed container already requested. " )
271
+ " Attempt to request for keyed container with the key that previously unkeyed container already requested. " )
272
272
let dictionary = existingContainer as? NSMutableDictionary ?? NSMutableDictionary ( )
273
273
self . container [ containerKey] = dictionary
274
274
@@ -283,7 +283,7 @@ fileprivate struct _PlistKeyedEncodingContainer<K : CodingKey> : KeyedEncodingCo
283
283
let containerKey = key. stringValue
284
284
let existingContainer = self . container [ containerKey]
285
285
precondition ( existingContainer is NSMutableArray ? ,
286
- " Attempt to request for unkeyed container with the key that previously keyed container already requested. " )
286
+ " Attempt to request for unkeyed container with the key that previously keyed container already requested. " )
287
287
let array = existingContainer as? NSMutableArray ?? NSMutableArray ( )
288
288
self . container [ containerKey] = array
289
289
You can’t perform that action at this time.
0 commit comments