Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fudge test for RT #114134
  • Loading branch information
moritz committed Nov 21, 2012
1 parent c5f5026 commit be54170
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions S32-exceptions/misc.t
Expand Up @@ -279,6 +279,7 @@ throws_like 'use fatal; (1+2i).Real', X::Numeric::Real, target => Real;

#RT #114134
{
#?rakudo skip 'RT 114134'
throws_like 'my class A {}; (-> &c, $m { A.new()(); CATCH { default { $m } } } )(A, "")', X::TypeCheck::Binding;

dies_ok {eval(class A{}; (-> &c, $m { A.new()(); CATCH { default { $m } } } )(A, "")) }, "Should fail type check with unbound variable";
Expand Down

0 comments on commit be54170

Please sign in to comment.