# New Ticket Created by  Ron Schmidt 
# Please include the string:  [perl #96424]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=96424 >


There are similar bug reports but I thought this looked different enough ...

.\perl6 -e "my $m = '3' ~~ /<digit>|<alpha>/; unless $m<alpha>  { say 'at least 
its false'}; say $m<alpha>.perl"
at least its false
Null PMC access in find_method('perl')
   in<anon>  at line 1317:src\gen\core.pm
   in 'Any::join' at line 1:src\metamodel\RoleToInstanceApplier.nqp
   in 'Mu::attribs' at line 1318:src\gen\core.pm
   in 'Mu::perl' at line 1322:src\gen\core.pm
   in main program body at line 1

In the example above if you use $m<digit> instead of $m<alpha> things 
work as expected but if you pick a non-existent rule name, say 
$m<alphax>, you get pretty much the same output as above.

Ron

Reply via email to