Actions
Bug #11990
closedDedenting heredoc interacts poorly with string concatenation
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
Description
The following code reproduces the problem:
p <<~E " y"
x
E
It prints "x\ny"
, but the second string is not dedenting. It should print "x\n y"
.
Actions
Like0
Like0Like0Like0Like0