# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #57864]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57864 >


r30183:
$ ./perl6 -e 'grammar A { token TOP { <foo> }; token foo { d } }; "d"
~~ A::TOP' # works
$ ./perl6 -e 'grammar A { token TOP { <text> }; token text { d } };
"d" ~~ A::TOP' # fails!
Null PMC access in type()
[...]

Same goes for 'rule text' or 'regex test'. My uneducated guess is that
something inside PGE is called 'text' and clashes.

Reply via email to