([NSGSet -isEqual:]): Make this just compare the id's, not call [super

isEqual:].  I did this to prevent an infinite loop while running
checks/nsarchiver.m, but I have a feeling that the bug might be in
map.c, not here.  Look at this again!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1254 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-03-22 02:35:07 +00:00
parent 2579e7ddca
commit af9619a45c

View file

@ -93,7 +93,12 @@
/* To deal with behavior over-enthusiasm. Will be fixed later. */
- (BOOL) isEqual: other
{
return [super isEqual:other];
/* xxx What is the correct behavior here.
If we end up calling [NSSet -isEqualToSet:] we end up in
an infinite loop, since that method enumerates the set, and
the set enumerator asks if things are equal...
[Huh? What am I saying here?] */
return (self == other);
}
@end