Skip to content

Commit 5df842b

Browse files
committed
disambiguate methods
1 parent bde8465 commit 5df842b

File tree

1 file changed

+2
-2
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/ints

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/ints/IntBuiltins.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ PInt doPInt(PInt left, PInt right, @SuppressWarnings("unused") PNone none) {
696696
}
697697

698698
@Specialization
699-
Object modulo(Object x, Object y, long z,
699+
Object powModulo(Object x, Object y, long z,
700700
@Cached("create(__POW__)") LookupAndCallTernaryNode powNode,
701701
@Cached("create(__MOD__)") LookupAndCallBinaryNode modNode) {
702702
Object result = powNode.execute(x, y, PNone.NO_VALUE);
@@ -707,7 +707,7 @@ Object modulo(Object x, Object y, long z,
707707
}
708708

709709
@Specialization
710-
Object modulo(Object x, Object y, PInt z,
710+
Object powModuloPInt(Object x, Object y, PInt z,
711711
@Cached("create(__POW__)") LookupAndCallTernaryNode powNode,
712712
@Cached("create(__MOD__)") LookupAndCallBinaryNode modNode) {
713713
Object result = powNode.execute(x, y, PNone.NO_VALUE);

0 commit comments

Comments
 (0)