4fffed4165
Remove duplication & unnecessary checks, check equality in both directions, check hashCode, add more cases, rename variables for clarity. #KT-13490