Skip to content

Commit c5ad997

Browse files
committed
removed obsolete workaround when creating polyglot exception text
1 parent 9b6a6a2 commit c5ad997

File tree

1 file changed

+0
-4
lines changed
  • com.oracle.truffle.r.launcher/src/com/oracle/truffle/r/launcher

1 file changed

+0
-4
lines changed

com.oracle.truffle.r.launcher/src/com/oracle/truffle/r/launcher/REPL.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,6 @@ private static String getErrorText(ExecutorService executor, PolyglotException e
319319
PolyglotException.StackFrame s = iterator.previous();
320320
if (s.isHostFrame()) {
321321
iterator.remove();
322-
} else if (s.getLanguage().getId().equals("R") && s.getRootName() == null) {
323-
// TODO: HOTFIX when LLVM
324-
// first frame is "<R> null(<REPL>:1:0-13)" ???!!!
325-
iterator.remove();
326322
} else {
327323
break;
328324
}

0 commit comments

Comments
 (0)