Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions darwin/mapkit_flutter/Sources/mapkit_flutter/messages.g.swift
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,13 @@ enum messagesPigeonInternal {
case (let lhsDictionary, let rhsDictionary) as ([AnyHashable: Any?], [AnyHashable: Any?]):
guard lhsDictionary.count == rhsDictionary.count else { return false }
for (lhsKey, lhsValue) in lhsDictionary {
var found = false
for (rhsKey, rhsValue) in rhsDictionary {
if deepEquals(lhsKey, rhsKey) {
if deepEquals(lhsValue, rhsValue) {
found = true
break
} else {
return false
}
if let rhsValue = rhsDictionary[lhsKey] {
if !deepEquals(lhsValue, rhsValue) {
return false
}
} else {
return false
}
if !found { return false }
}
return true

Expand Down
Loading