Bug #19539
closedHeredocs with leading spaces inconsistency
Description
This is more like technical inconsistency that bothers me. Not sure someone will use this in real life, but still.
This works fine:
But this is not:
as well as
I would expect it to wok properly, even in case:
Updated by nobu (Nobuyoshi Nakada) over 3 years ago
- Status changed from Open to Closed
Applied in changeset git|67dd52d59cde0d2f1ebb3e299b605ed239b59f5b.
[Bug #19539] Match heredoc identifier from end of line
Not to ignore leading spaces in indented heredoc identifier.
Updated by hurricup (Alexandr Evstigneev) over 3 years ago
nobu (Nobuyoshi Nakada) wrote in #note-1:
Applied in changeset git|67dd52d59cde0d2f1ebb3e299b605ed239b59f5b.
[Bug #19539] Match heredoc identifier from end of line
Not to ignore leading spaces in indented heredoc identifier.
Test in the changeset does not cover the latter case, when identifier with leading spaces is also indented. Is this expected to work?