# New Ticket Created by Bjoern Hoehrmann
# Please include the string: [perl #66974]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=66974 >
Hi,
class Example::Actions {
multi method TOP($match, $tag) {
say "Hello"
}
}
grammar Example {
regex TOP { 'Hello' {*} }
};
my $action = Example::Actions.new();
Example.parse("Hello", :action($action));
say $/.perl
Dies with
Null PMC access in invoke()
in regex Example::TOP (example.p6:7)
called from Main (example.p6:12)
regards,
--
Björn Höhrmann · mailto:[email protected] · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/