Skip to content

Commit 0136021

Browse files
authored
Fix OtherInteropType is iterator check (#14835)
1 parent 2732a8f commit 0136021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/java/jvm-interop/src/main/java/org/enso/jvm/interop/impl/OtherInteropType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ private static short oneOf(TruffleObject obj, InteropLibrary iop) {
106106
if (iop.isMetaObject(obj)) {
107107
return IS_META_OBJECT;
108108
}
109-
if (iop.isIterator(iop)) {
109+
if (iop.isIterator(obj)) {
110110
return IS_ITERATOR;
111111
}
112112
var m = 0x00;

0 commit comments

Comments
 (0)