Browse files

fake-method postfixes can override real methods

  • Loading branch information...
1 parent edd7715 commit 04216b1eb1769dd93e5794b79f737cbe7c5df7b5 @TimToady TimToady committed Nov 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 STD.pm6
View
2 STD.pm6
@@ -3308,9 +3308,9 @@ grammar P6 is STD {
:dba('postfix')
[
+ | <postop> { $<O> = $<postop><O>; $<sym> = $<postop><sym>; $<~CAPS> = $<postop><~CAPS>; }
| <dotty> { $<O> = $<dotty><O>; $<sym> = $<dotty><sym>; $<~CAPS> = $<dotty><~CAPS>; }
| <privop> { $<O> = $<privop><O>; $<sym> = $<privop><sym>; $<~CAPS> = $<privop><~CAPS>; }
- | <postop> { $<O> = $<postop><O>; $<sym> = $<postop><sym>; $<~CAPS> = $<postop><~CAPS>; }
]
{ $*LEFTSIGIL = '@'; }
}

0 comments on commit 04216b1

Please sign in to comment.