Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make warnings not be fatal on JVM.

  • Loading branch information...
commit d221425e0752c5d04f567f434dce4eb1b498c7e3 1 parent 60e4582
@jnthn jnthn authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/core/Exception.pm
View
8 src/core/Exception.pm
@@ -243,13 +243,19 @@ do {
nqp::printfh($err, Backtrace.new($ex.backtrace, 0).nice(:oneline));
#?endif
#?if jvm
- nqp::printfh($err, Backtrace.new(nqp::backtrace($ex), 0).nice(:oneline));
+# XXX Backtraces busted
+# nqp::printfh($err, Backtrace.new(nqp::backtrace($ex), 0).nice(:oneline));
#?endif
nqp::printfh($err, "\n");
+#?if parrot
my $resume := nqp::atkey($ex, 'resume');
if ($resume) {
$resume();
}
+#?endif
+#?if !parrot
+ nqp::resume($ex)
+#?endif
}
if ($type == nqp::const::CONTROL_LAST) {
X::ControlFlow.new(illegal => 'last', enclosing => 'loop construct').throw;
Please sign in to comment.
Something went wrong with that request. Please try again.