Actions
Bug #14032
closedsquiggly heredoc with an interpolation at the beginning is unindented wrongly
    Bug #14032:
    squiggly heredoc with an  interpolation at the beginning is unindented wrongly
  
Description
This result should be prefixed with spaces, not unindented.
p <<~E
  a
#{1}
E
        
           Updated by nobu (Nobuyoshi Nakada) about 8 years ago
          Updated by nobu (Nobuyoshi Nakada) about 8 years ago
          
          
        
        
      
      - Status changed from Assigned to Closed
Applied in changeset trunk|r60213.
parse.y: indent at '#'
- parse.y (parser_here_document): update indent at '#', which is
 not a space. [ruby-core:83368] [Bug #14032]
        
           Updated by nagachika (Tomoyuki Chikanaga) over 7 years ago
          Updated by nagachika (Tomoyuki Chikanaga) over 7 years ago
          
          
        
        
      
      - 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