Skip to content

Commit d5d5047

Browse files
committed
Fix: used wrong variable for check.
1 parent 5e8f611 commit d5d5047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2724,7 +2724,7 @@ protected static boolean isFallbackCase(SequenceStorage s, Object value, IsAssig
27242724
if (s instanceof EmptySequenceStorage || s instanceof ObjectSequenceStorage) {
27252725
return false;
27262726
}
2727-
if ((value instanceof ByteSequenceStorage || value instanceof IntSequenceStorage || value instanceof LongSequenceStorage) &&
2727+
if ((s instanceof ByteSequenceStorage || s instanceof IntSequenceStorage || s instanceof LongSequenceStorage) &&
27282728
(value instanceof Byte || value instanceof Integer || value instanceof Long)) {
27292729
return false;
27302730
}

0 commit comments

Comments
 (0)