Skip to content
Permalink
Browse files

Merge pull request #624 from kostya/eql_in_hash

Hash#element reference call eql? on objects in right order
  • Loading branch information
alex committed Apr 16, 2013
2 parents 9bd50be + 6406945 commit 7db807bf0b66d47eb4bef29b57a2830f6339d463

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

@@ -621,7 +621,7 @@ def hash_w(self, w_obj):
return self.int_w(self.send(w_obj, self.newsymbol("hash")))

def eq_w(self, w_obj1, w_obj2):
return self.is_true(self.send(w_obj1, self.newsymbol("eql?"), [w_obj2]))
return self.is_true(self.send(w_obj2, self.newsymbol("eql?"), [w_obj1]))

def register_exit_handler(self, w_proc):
self.exit_handlers_w.append(w_proc)

0 comments on commit 7db807b

Please sign in to comment.
You can’t perform that action at this time.