Skip to content
Snippets Groups Projects
Commit ce332725 authored by Lukas Stadler's avatar Lukas Stadler
Browse files

transferToInterpreter on REmpty in RCallNode

parent 2374a7ea
No related branches found
No related tags found
No related merge requests found
......@@ -285,6 +285,7 @@ public abstract class RCallNode extends RCallBaseNode implements RSyntaxNode, RS
Object dispatchObject = dispatchArgument.execute(frame);
// Cannot dispatch on REmpty
if (dispatchObject == REmpty.instance) {
CompilerDirectives.transferToInterpreter();
throw RError.error(this, RError.Message.ARGUMENT_EMPTY, 1);
}
FrameSlot slot = dispatchTempSlot.initialize(frame, dispatchObject);
......
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