lib/sass/selector/simple_sequence.rb in haml-edge-2.3.215 vs lib/sass/selector/simple_sequence.rb in haml-edge-2.3.216

- old
+ new

@@ -117,18 +117,19 @@ # Returns a hash code for this sequence. # # @return [Fixnum] def hash - [base, rest].hash + [base, Haml::Util.set_hash(rest)].hash end # Checks equality between this and another object. # # @param other [Object] The object to test equality against # @return [Boolean] Whether or not this is equal to `other` def eql?(other) - other.class == self.class && other.base.eql?(self.base) && other.rest.eql?(self.rest) + other.class == self.class && other.base.eql?(self.base) && + Haml::Util.set_eql?(other.rest, self.rest) end private # Raise a {Sass::SyntaxError} describing a loop of `@extend` directives.