mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-27 02:25:36 +00:00
CPDictionary should check for isa's before calling isEqual: in isEqualToDictionary:
This commit is contained in:
1 parent
88035429bb
commit
3268081d1f
1 file changed
+1
-1
@@ -236,7 +236,7 @@
|
||||
if (lhsObject === rhsObject)
|
||||
continue;
|
||||
|
||||
if ([lhsObject respondsToSelector:@selector(isEqual:)] && [lhsObject isEqual:rhsObject])
|
||||
if (lhsObject.isa && rhsObject.isa && [lhsObject respondsToSelector:@selector(isEqual:)] && [lhsObject isEqual:rhsObject])
|
||||
continue;
|
||||
|
||||
return NO;
|
||||
|
||||
Reference in new issue
Block a user