Skip to content

Commit

Permalink
Revert "[Truffle] Empty Kernel#raise should re-raise the last excepti…
Browse files Browse the repository at this point in the history
…on."

This reverts commit 19510fa.
  • Loading branch information
nirvdrum committed Mar 12, 2015
1 parent 13a6c15 commit 1b00142
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1531,7 +1531,7 @@ public RaiseNode(RaiseNode prev) {
public Object raise(VirtualFrame frame, UndefinedPlaceholder undefined1, UndefinedPlaceholder undefined2, UndefinedPlaceholder undefined3) {
notDesignedForCompilation();

return ruby(frame, "$!");
return raise(frame, getContext().getCoreLibrary().getRuntimeErrorClass(), getContext().makeString("re-raised - don't have the current exception yet!"), undefined1);
}

@Specialization
Expand Down

0 comments on commit 1b00142

Please sign in to comment.