Skip to content

Commit 5295d9a

Browse files
committed
Fix: recursive invocation of 'create'.
1 parent ad9d3d3 commit 5295d9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/util/CastToByteNode.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,10 @@ public static CastToByteNode create(boolean coerce) {
154154
}
155155

156156
public static CastToByteNode create(Function<Object, Byte> rangeErrorHandler, Function<Object, Byte> typeErrorHandler) {
157-
return CastToByteNodeGen.create(rangeErrorHandler, typeErrorHandler);
157+
return CastToByteNodeGen.create(rangeErrorHandler, typeErrorHandler, false);
158158
}
159159

160160
public static CastToByteNode create(Function<Object, Byte> rangeErrorHandler, Function<Object, Byte> typeErrorHandler, boolean coerce) {
161161
return CastToByteNodeGen.create(rangeErrorHandler, typeErrorHandler, coerce);
162162
}
163-
}
163+
}

0 commit comments

Comments
 (0)