Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Actions] Permit »+=», «*=», etc.
  • Loading branch information
Kodi Arfer authored and Kodi Arfer committed Oct 7, 2010
1 parent 99c80ec commit 377615e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Actions.pm
Expand Up @@ -2522,7 +2522,7 @@ method infix_circumfix_meta_operator:sym<« »>($/) {
sub make_hyperop($/) {
my $opsub := '&infix:<' ~ ~$/ ~ '>';
unless %*METAOPGEN{$opsub} {
my $base_op := '&infix:<' ~ $<infixish><OPER>.Str ~ '>';
my $base_op := '&infix:<' ~ $<infixish>.Str ~ '>';
my $dwim_lhs := $<opening> eq '<<' || $<opening> eq '«';
my $dwim_rhs := $<closing> eq '>>' || $<closing> eq '»';
$*UNITPAST.loadinit.push(PAST::Op.new(
Expand Down

0 comments on commit 377615e

Please sign in to comment.