Skip to content

Commit

Permalink
Update test to use nqp::resume(...).
Browse files Browse the repository at this point in the history
This should make it possible to try and get working in JVM land.
  • Loading branch information
jnthn committed Mar 15, 2013
1 parent cfdcc70 commit 38a4fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/nqp/44-try-catch.t
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $ok := 1;
$ok := $ok * 2;
oops();
}
CATCH { my &c := $!<resume>; &c(); }
CATCH { nqp::resume($!); }
}

ok($ok == 16, "resuming from resumable exceptions works");

0 comments on commit 38a4fd9

Please sign in to comment.