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

[GR-4777] Move RMain, implement TruffleLanguage.isObjectOfLanguage.

parents 36f98d9e e8f1d7fb
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ public final class TruffleRLanguageImpl extends TruffleRLanguage implements Scop
@Override
protected boolean isObjectOfLanguage(Object object) {
return false;
return object instanceof RTypedValue;
}
@Override
......
......@@ -20,7 +20,10 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.oracle.truffle.r.launcher;
package com.oracle.truffle.r.engine.shell;
import com.oracle.truffle.r.launcher.RCommand;
import com.oracle.truffle.r.launcher.RscriptCommand;
/**
* Convenience class that allows the R/Rscript entry to be chosen by an initial argument.
......@@ -66,5 +69,4 @@ public class RMain {
System.arraycopy(args, 1, nargs, 0, nargs.length);
return nargs;
}
}
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