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
De-indentation should de-indent physical lines, not whitespace following a \n escape in heredocs in Rakudo #4378
Comments
From @masak<hoelzro> I found some behavior using heredocs, and I'm not really (Gist shows the following heredoc with a \n in it, which gives a my $here = qq:to/END_TEXT/; <hoelzro> it's concerning how leading whitespace removal is handled (URL referencing hoelzro's original example at the top of this report) <TimToady> recall that dedent is only for the purposes of establishing |
From @jnthnOn Fri Jul 03 12:29:34 2015, masak wrote:
Turns out there was a neater way than a sentinel: in the case of being inside a heredoc, code-gen \n and \r\n as an AST node, not just a string. This triggers the same codepaths that deal with interpolation. Tests in S02-literals/quoting.t. /jnthn |
The RT System itself - Status changed from 'new' to 'open' |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#125543 (status was 'resolved')
Searchable as RT125543$
The text was updated successfully, but these errors were encountered: