Skip to content

Commit

Permalink
Delete an iteration of $<version> from statement_control:sym<need>
Browse files Browse the repository at this point in the history
Fixes RT#132214: https://rt.perl.org/Public/Bug/Display.html?id=132214

This portion of the code is superfluous.
  • Loading branch information
titsuki committed Jan 14, 2018
1 parent 732a25c commit 7537f89
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Perl6/Actions.nqp
Expand Up @@ -1956,9 +1956,6 @@ class Perl6::Actions is HLL::Actions does STDActions {

method statement_control:sym<need>($/) {
my $past := QAST::WVal.new( :value($*W.find_symbol(['Nil'])) );
for $<version> {
# XXX TODO: Version checks.
}
make $past;
}

Expand Down

0 comments on commit 7537f89

Please sign in to comment.