Skip to content

Commit

Permalink
two identical objects are also equivalent
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Jul 15, 2009
1 parent 10843c7 commit 9a7a1dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/setting/Operators.pm
Expand Up @@ -50,6 +50,7 @@ multi sub infix:<eqv>(Mapping $a, Mapping $b) {

multi sub infix:<eqv> ($a, $b) {
return Bool::False unless $a.WHAT === $b.WHAT;
return Bool::True if $a === $b;
die "infix:<eqv> is only implemented for certain special cases yet";
}

Expand Down

0 comments on commit 9a7a1dc

Please sign in to comment.