Skip to content

Commit

Permalink
Do not inline stuff that warns
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Feb 1, 2013
1 parent 5e5a76f commit 8f39611
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Perl6/Optimizer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,10 @@ class Perl6::Optimizer {
my $ret_value;
try {
$ret_value := $obj(|@args);
$survived := 1;
$survived := 1 ;
CONTROL {
$survived := 0;
}
}
if $survived {
$*W.add_object($ret_value);
Expand Down

0 comments on commit 8f39611

Please sign in to comment.