This commit is contained in:
Peter 2019-05-01 19:23:20 +04:00
parent 318c47b0aa
commit 4a32c05bd7

View File

@ -186,7 +186,7 @@ public func mergeListsStableWithUpdatesReversed<T>(leftList: [T], rightList: [T]
var insertItems: [(Int, T, Int?)] = []
var updatedIndices: [(Int, T, Int)] = []
#if (arch(i386) || arch(x86_64)) && os(iOS)
#if targetEnvironment(simulator)
var existingStableIds: [T.T: T] = [:]
for item in leftList {
if let _ = existingStableIds[item.stableId] {