Skip to content

Commit ad8fb1d

Browse files
committed
Fix generalizing storage when assigning a native slice
1 parent e4141c8 commit ad8fb1d

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/runtime/sequence/storage/NativeSequenceStorage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public final SequenceStorage generalizeFor(Object value, SequenceStorage other)
149149

150150
@Override
151151
public final Object getIndicativeValue() {
152-
throw CompilerDirectives.shouldNotReachHere();
152+
return null;
153153
}
154154

155155
@Override

0 commit comments

Comments
 (0)