This issue should now be fixed in r32597 so that PGE::Match objects
correctly return an ObjectRef and assigns properly into scalar types.
Also, in order to help diagnose such issues in the future, I've added a
.PARROT method to rakudo that can be used to better diagnose what is
happening internall
On Mon, Nov 10, 2008 at 03:21:47AM -0800, Ilya Belikin wrote:
>
> grammar G {
> token TOP { ':' + };
> token foo { \d };
> }
>
> my $a = ":123" ~~ G::TOP;
The official syntax for matching against a rule or grammar
has not yet been determined. So, I'm marking this ticket
as "stalled" unt
# New Ticket Created by Ilya Belikin
# Please include the string: [perl #60456]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=60456 >
grammar G {
token TOP { ':' + };
token foo { \d };
}
my $a = ":123" ~~ G::TOP;