We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 084a068 commit b380130Copy full SHA for b380130
src/main/java/org/truffleruby/core/array/library/ArrayStoreLibrary.java
@@ -129,6 +129,7 @@ public Object makeShared(Object store) {
129
/** Do any work required to start sharing elements across threads in the range from {@code start} (inclusive) to
130
* {@code end} (exclusive). */
131
public void shareElements(Object store, int start, int end) {
132
+ assert isPrimitive(store);
133
}
134
135
/** Return a description of {@code store} for debugging output. */
0 commit comments