libs-base icon indicating copy to clipboard operation
libs-base copied to clipboard

Bring `-compare:` implementations inline with macos

Open ERobsham opened this issue 8 months ago • 0 comments

updates the implementation of -compare: vs a nil argument to return the same results as the same code running on macos (output from a sample program on macos):

NSString 'compare:' nil arg: NSOrderedDescending
NSDate   'compare:' nil arg: NSOrderedSame
NSNumber 'compare:' nil arg: exceptions `-[__NSCFNumber compare:]: nil argument`

Related issue: https://github.com/gnustep/libs-base/issues/507

ERobsham avatar May 30 '25 17:05 ERobsham