lib/spoom/deadcode/location.rb in spoom-1.2.2 vs lib/spoom/deadcode/location.rb in spoom-1.2.3
- old
+ new
@@ -42,10 +42,10 @@
@end_column = end_column
end
sig { override.params(other: BasicObject).returns(T.nilable(Integer)) }
def <=>(other)
- return nil unless Location === other
+ return unless Location === other
to_s <=> other.to_s
end
sig { returns(String) }