Skip to content
Snippets Groups Projects
Commit ca20e558 authored by Christian Humer's avatar Christian Humer
Browse files

Fix RCommand needs to handle the Truffle version of an IncompleteSourceException.

parent 949a67c7
Branches
No related tags found
No related merge requests found
......@@ -221,7 +221,7 @@ public class RCommand {
*/
try {
vm.eval(subSource);
} catch (IncompleteSourceException e) {
} catch (IncompleteSourceException | com.oracle.truffle.api.vm.IncompleteSourceException e) {
// read another line of input
consoleHandler.setPrompt(doEcho ? continuePrompt : null);
String additionalInput = consoleHandler.readLine();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment