Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
RT #90522: recurse into eval
  • Loading branch information
moritz committed Jan 4, 2013
1 parent 472b0b8 commit 7d22621
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion integration/weird-errors.t
Expand Up @@ -3,7 +3,7 @@ use Test;
BEGIN { @*INC.push: 't/spec/packages' };
use Test::Util;

plan 7;
plan 8;

# this used to segfault in rakudo
#?niecza skip 'todo'
Expand Down Expand Up @@ -45,3 +45,12 @@ lives_ok { 1.^methods>>.sort }, 'can use >>.method on result of introspection';
#?niecza skip 'todo'
lives_ok { Any .= (); CATCH { when X::AdHoc {1} } }, 'Typed, non-internal exception';

# RT #90522
{
my $i = 0;
sub foo {
return if ++$i == 50;
eval 'foo';
}
lives_ok { foo }, 'can recurse many times into &eval';
}

0 comments on commit 7d22621

Please sign in to comment.