New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Null PMC access when matching against grammar G in module M in a rule in Rakudo #1114
Comments
From @masak<masak> rakudo: module M; grammar G {}; say "foo" ~~ /<M::G>/ |
From @bbkron Kiev build: [16:51] <bbkr> rakudo: module M; grammar G {}; say "foo" ~~ /<M::G>/ |
@coke - Status changed from 'new' to 'open' |
From @bbkrNOM still broken bbkr:nom bbkr$ ./perl6 -e 'module M; grammar G {}; say "foo" ~~ /<M::G>/' |
From @moritzIt works now when explicitly calling a rule in that grammar: $ ./perl6 -e 'module M; grammar G { token TOP { "foo" }}; say "foo" ~~ Otherwise it still errors out: $ ./perl6 -e 'module M; grammar G { token TOP { "foo" }}; say "foo" ~~ |
From @jnthnOn Fri Mar 30 07:43:39 2012, moritz wrote:
Tried to fix this, but then /<SomeGrammar/> should also work, but that turns out to be very fragile/confusing between rules and types. Also no support in S05 for this behavior (or even /<Some::Grammar::rule>/) so it needs some lang design input. |
From @TimToadyDon't need this, using the Top or other rule name is sufficient. |
@TimToady - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#67128 (status was 'rejected')
Searchable as RT67128$
The text was updated successfully, but these errors were encountered: