Actions
Bug #14584
closedSquigly heredoc with interpolation that has a string literal withe spaces gets incorrect value
Bug #14584:
Squigly heredoc with interpolation that has a string literal withe spaces gets incorrect value
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin17]
Description
Given this program:
The output is:
The two should be equal.
I think the problem happens because squigly heredoc will remove the first two spaces from each line in the heredoc, but it seems to also be removing it from literals inside interpolation inside a heredoc.
Actions