Project

General

Profile

Actions

Bug #14032

closed

squiggly heredoc with an interpolation at the beginning is unindented wrongly

Bug #14032: squiggly heredoc with an interpolation at the beginning is unindented wrongly

Added by nobu (Nobuyoshi Nakada) about 8 years ago. Updated over 7 years ago.

Status:
Closed
Target version:
-
ruby -v:
2.5.0 dev
[ruby-core:83368]

Description

This result should be prefixed with spaces, not unindented.

p <<~E
  a
#{1}
E

Updated by nobu (Nobuyoshi Nakada) about 8 years ago Actions #1

  • Status changed from Assigned to Closed

Applied in changeset trunk|r60213.


parse.y: indent at '#'

Updated by nagachika (Tomoyuki Chikanaga) over 7 years ago Actions #2 [ruby-core:85357]

  • Backport changed from 2.3: DONTNEED, 2.4: REQUIRED to 2.3: DONTNEED, 2.4: DONE

ruby_2_4 r62174 merged revision(s) 60213.

Actions

Also available in: PDF Atom