Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
want insides of s/// and ~~
  • Loading branch information
TimToady committed Dec 16, 2015
1 parent 3a82a2e commit a67c726
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Perl6/Actions.nqp
Expand Up @@ -2213,7 +2213,7 @@ Compilation unit '$file' contained the following violations:
)
),
# And finally evaluate to the smart-match result.
QAST::Var.new( :name($result_var), :scope('local') )
WANTED(QAST::Var.new( :name($result_var), :scope('local') ),'make_smartmatch')
);
$past := QAST::Op.new( :op('locallifetime'), $past, $result_var );
}
Expand Down Expand Up @@ -7501,7 +7501,7 @@ Compilation unit '$file' contained the following violations:
),
);
$past.annotate('is_S', $<sym> eq 'S');
make $past;
make WANTED($past, 's///'); # never carp about s/// in sink context
}

method quote:sym<quasi>($/) {
Expand Down

0 comments on commit a67c726

Please sign in to comment.