Skip to content

Commit

Permalink
infix:<===> should not be defined in terms of infix:<==> or infix:<eq>.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Aug 28, 2009
1 parent 586076e commit aab4bf9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/classes/Int.pir
Expand Up @@ -107,7 +107,8 @@ Overridden for Int.
.sub 'infix:===' :multi(Integer,Integer)
.param int a
.param int b
.tailcall 'infix:=='(a, b)
$I0 = iseq a, b
.tailcall 'prefix:?'($I0)
.end

=back
Expand Down
3 changes: 2 additions & 1 deletion src/classes/Num.pir
Expand Up @@ -102,7 +102,8 @@ Overridden for Num.
.sub 'infix:===' :multi(Float,Float)
.param num a
.param num b
.tailcall 'infix:=='(a, b)
$I0 = iseq a, b
.tailcall 'prefix:?'($I0)
.end


Expand Down
3 changes: 2 additions & 1 deletion src/classes/Str.pir
Expand Up @@ -264,7 +264,8 @@ Overridden for Str.
.sub 'infix:===' :multi(String,String)
.param string a
.param string b
.tailcall 'infix:eq'(a, b)
$I0 = iseq a, b
.tailcall 'prefix:?'($I0)
.end


Expand Down

0 comments on commit aab4bf9

Please sign in to comment.