We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Migrated from rt.perl.org#71514 (status was 'resolved')
Searchable as RT71514$
The text was updated successfully, but these errors were encountered:
grammar ActionsTestGrammar { token TOP { ^ .+ $ {*} } } class TestActions { method TOP($/) { "a\nb".subst(/\n+/, '', :g); make 123; } }
say ActionsTestGrammar.parse("ab\ncd", :action(TestActions.new)).ast;
Prints: ab cd
commenting out the line with the call to .subst makes it print 123 as expected.
Found by takadonet++
Cheers, Moritz
Sorry, something went wrong.
works now, needs tests.
@moritz - Status changed from 'new' to 'open'
tested in action-stubs.t
@moritz - Status changed from 'open' to 'resolved'
No branches or pull requests
Migrated from rt.perl.org#71514 (status was 'resolved')
Searchable as RT71514$
The text was updated successfully, but these errors were encountered: