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

Merge pull request #131 in G/fastr from...

Merge pull request #131 in G/fastr from ~LUKAS.STADLER_ORACLE.COM/fastr:bugfix/parser_errors to master

* commit '711c6f88':
  do not throw RErrors created during parsing through PolyglotEngine
parents 377fb998 711c6f88
No related branches found
No related tags found
No related merge requests found
......@@ -134,11 +134,18 @@ public final class TruffleRLanguage extends TruffleLanguage<RContext> {
public Object call(Object... arguments) {
try {
throw e.throwAsRError();
} catch (@SuppressWarnings("hiding") RError e) {
} catch (RError e2) {
return null;
}
}
};
} catch (RError e) {
return new CallTarget() {
@Override
public Object call(Object... arguments) {
return null;
}
};
}
}
}
......
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