Skip to content

Commit

Permalink
Fixed Hash ~~ Hash: check for equality.
Browse files Browse the repository at this point in the history
  • Loading branch information
trizen committed Jul 19, 2021
1 parent 555398f commit 015692d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Sidef/Object/Object.pm
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ package Sidef::Object::Object {

# Hash ~~ Hash
if (CORE::ref($first) eq CORE::ref($second)) {
return $second->eq($first->keys);
return $second->eq($first);
}

# Hash ~~ Regex
Expand Down

0 comments on commit 015692d

Please sign in to comment.