You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I mean, this is a pretty cursed way to write this, but this just came up as a cursed test case when I was working on #360. For bare heredocs, the closing BAR tag must be fully left-aligned, but we always bad the contents of squiggly heredocs with spaces no matter what. This also affects dash (<<-) heredocs as well, since it modifies the contents of the heredoc by adding too many spaces.
The text was updated successfully, but these errors were encountered:
Input file
(I feel a little bad just writing this example)
Rubyfmt's output
This breaks because
I mean, this is a pretty cursed way to write this, but this just came up as a cursed test case when I was working on #360. For bare heredocs, the closing
BAR
tag must be fully left-aligned, but we always bad the contents of squiggly heredocs with spaces no matter what. This also affects dash (<<-
) heredocs as well, since it modifies the contents of the heredoc by adding too many spaces.The text was updated successfully, but these errors were encountered: