Skip to content

Commit

Permalink
Remove dead CATCH
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Apr 1, 2022
1 parent 5dfa9c4 commit c891075
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Perl6/Actions.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -11186,8 +11186,6 @@ class Perl6::QActions is HLL::Actions does STDActions {
my $result := $*W.find_single_symbol('&val')($qast.compile_time_value);
$*W.add_object_if_no_sc($result);
$qast := QAST::WVal.new(:value($result));

CATCH { }
}
} else { # no compile time value, resort to the run-time call
$qast := QAST::Op.new(:name('&val'), :op('call'), :node($/), $qast);
Expand Down

0 comments on commit c891075

Please sign in to comment.