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
heredoc body contains a tab that gets incorrectly converted to spaces #6456
Comments
From @moleculesWhen heredoc bodies are preceded by spaces, but the body itself contains a tab, sometimes the tab in the resulting heredoc gets converted to spaces. The attached test file demonstrates 5 failing cases (with a total of 10 tests) and one passing case (with one test). I've already submitted a pull request to roast (Raku/roast#295). I will merge it once I get an RT number. |
From @moleculesuse v6; sub no-r(Str $in) { $in.subst("\r\n", "\n", :g) } #?rakudo skip 'RT not yet assigned' # 4 spaces are present between the beginning of the line and the heredoc body # Same exact heredoc body, except it is moved to the right one space # Same heredoc body as the first, except moved to the right two spaces # Same heredoc body as the first, except moved to the right three spaces # ONLY TEST THAT PASSES # Same heredoc body as the first, except moved to the right five spaces |
Migrated from rt.perl.org#131927 (status was 'new')
Searchable as RT131927$
The text was updated successfully, but these errors were encountered: