Skip to content

Commit 95a1f93

Browse files
committed
fix hashCode calculation for DEFAULT_EQIVALENCE
1 parent ed33c9c commit 95a1f93

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/common

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/common/HashingStorage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public abstract static class Equivalence extends PNodeWithContext {
9595

9696
@Override
9797
public int hashCode(Object o) {
98-
return o.hashCode();
98+
return Long.hashCode(o.hashCode());
9999
}
100100

101101
@Override

0 commit comments

Comments
 (0)