Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert "Use at_{pos,key} for method {@,%}.()"
This reverts commit fda3461.
  • Loading branch information
Mouq committed Jul 8, 2014
1 parent fda3461 commit 41574ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Perl6/Actions.nqp
Expand Up @@ -2835,8 +2835,8 @@ class Perl6::Actions is HLL::Actions does STDActions {
:decl<routine>, :with_adverbs);
}
elsif $<sigil> {
if $<sigil> eq '@' { $name := 'at_pos' }
elsif $<sigil> eq '%' { $name := 'at_key' }
if $<sigil> eq '@' { $name := 'postcircumfix:<[ ]>' }
elsif $<sigil> eq '%' { $name := 'postcircumfix:<{ }>' }
elsif $<sigil> eq '&' { $name := 'postcircumfix:<( )>' }
else {
$/.CURSOR.panic("Cannot use " ~ $<sigil> ~ " sigil as a method name");
Expand Down

0 comments on commit 41574ab

Please sign in to comment.