Permalink
Browse files

Update test to use nqp::resume(...).

This should make it possible to try and get working in JVM land.
  • Loading branch information...
1 parent cfdcc70 commit 38a4fd90670c71356a9e0269b4f3a0fc99f23d4e @jnthn jnthn committed Mar 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 t/nqp/44-try-catch.t
View
@@ -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.