File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -430,11 +430,6 @@ - (BOOL)isEqual:(id)other {
430
430
}
431
431
}
432
432
433
- // if (runtime::bincompat::useLegacySwiftObjCHashing()) {
434
- // // Legacy behavior only proxies isEqual: for Hashable, not Equatable
435
- // return NO;
436
- // }
437
-
438
433
if (auto equatableConformance = selfHeader->getEquatableConformance ()) {
439
434
if (auto selfEquatableBaseType = selfHeader->getEquatableBaseType ()) {
440
435
auto otherEquatableBaseType = otherHeader->getEquatableBaseType ();
@@ -464,11 +459,6 @@ - (NSUInteger)hash {
464
459
selfHeader->type , hashableConformance);
465
460
}
466
461
467
- // if (runtime::bincompat::useLegacySwiftObjCHashing()) {
468
- // // Legacy behavior doesn't honor Equatable conformance, only Hashable
469
- // return (NSUInteger)self;
470
- // }
471
-
472
462
// If Swift type is Equatable but not Hashable,
473
463
// we have to return something here that is compatible
474
464
// with the `isEqual:` above.
You can’t perform that action at this time.
0 commit comments