Skip to content

Commit

Permalink
colonpair shortcuts with twigils fixed (closes RT#73908)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyacheslav Matjukhin authored and jnthn committed Jun 12, 2010
1 parent 52873b9 commit 02d164d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Actions.pm
Expand Up @@ -652,7 +652,7 @@ method fatarrow($/) {
method colonpair($/) {
if $*key {
if $<var> {
make make_pair($*key, make_variable($/, ~$<var>));
make make_pair($*key, make_variable($/<var>, ~$<var>));
}
elsif $*value ~~ Regex::Match {
make make_pair($*key, $*value.ast);
Expand Down

0 comments on commit 02d164d

Please sign in to comment.