Skip to content
Snippets Groups Projects
Commit b387e595 authored by stepan's avatar stepan
Browse files

Fix in RVector: pass node to error to avoid NPE

parent ab8c9c88
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,8 @@
*/
package com.oracle.truffle.r.runtime.data;
import static com.oracle.truffle.r.runtime.RError.NO_CALLER;
import java.util.function.Function;
import com.oracle.truffle.api.CompilerAsserts;
......@@ -472,7 +474,7 @@ public abstract class RVector<ArrayT> extends RSharingAttributeStorage implement
@Override
public final void setDimensions(int[] newDimensions) {
setDimensions(newDimensions, null);
setDimensions(newDimensions, NO_CALLER);
}
private void setDimensions(int[] newDimensions, RBaseNode invokingNode) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment