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
Differing behavior of multi grammar rules with and without "multi" #3724
Comments
From @skidsIn a grammar that uses a proto+parameterized multi, the "multi" is # perl6 -e 'grammar f { proto token g {*}; token g:h<i> { i* }; token g:h<j> { j* }; proto token l {*}; multi token l:m<n> { n* }; multi token l:m<o> { o* } }; f.parse("i", :rule<g>).say; f.parse("j", :rule<g>).say; f.parse("n", :rule<l>).say; f.parse("o", :rule<l>).say;' It seems to work fine in other circumstances. The same as above, but # perl6 -e 'grammar f { proto token g {*}; token g:h<i> { i }; token g:h<j> { j }; proto token l {*}; multi token l:m<n> { n }; multi token l:m<o> { o } }; f.parse("i", :rule<g>).say; f.parse("j", :rule<g>).say; f.parse("n", :rule<l>).say; f.parse("o", :rule<l>).say;' |
From @AlexDanielStill reproducible (2017.11, HEAD(5929887)). It does print Nil instead of (Any), but same thing.
|
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#124018 (status was 'open')
Searchable as RT124018$
The text was updated successfully, but these errors were encountered: