Skip to content
Permalink
Browse files

Merge pull request #596 from krekoten/kernel_case_compare

Kernel#=== should check identity
  • Loading branch information
alex committed Apr 10, 2013
2 parents 63421b7 + 75216c9 commit 20979735b7bff9f4fc65c041bc253ee31bb49bff
Showing with 2 additions and 1 deletion.
  1. +0 −1 spec/tags/core/kernel/case_compare_tags.txt
  2. +2 −0 topaz/objects/objectobject.py

This file was deleted.

@@ -147,6 +147,8 @@ def method_cmp(self, space, w_other):

@classdef.method("===")
def method_eqeqeq(self, space, w_other):
if self is w_other:
return space.w_true
return space.send(self, space.newsymbol("=="), [w_other])

@classdef.method("send")

0 comments on commit 2097973

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