Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
don't need the secondary markers anymore
  • Loading branch information
TimToady committed Dec 13, 2015
1 parent 2807a3c commit 398ac59
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Perl6/Actions.nqp
Expand Up @@ -19,7 +19,6 @@ sub block_closure($code) {
sub wanted($ast) {
return $ast unless nqp::can($ast,'ann');
return $ast if $ast.ann('WANTED'); # already marked from here down
return $ast if $ast.ann('wanted'); # already marked from here down
if nqp::istype($ast,QAST::Stmt) ||
nqp::istype($ast,QAST::Stmts)
{
Expand All @@ -37,9 +36,6 @@ sub wanted($ast) {
wanted($ast.ann('past_block'));
$ast.annotate('WANTED',1);
}
else {
$ast.annotate('wanted',1); # XXX to be removed later when no longer necessary
}
$ast;
}

Expand Down

0 comments on commit 398ac59

Please sign in to comment.