Project

General

Profile

Actions

Bug #11849

closed

Heredoc regression in 2.2.4

Added by whitequark (whitequark *) almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.4p230 (2015-12-16 revision 53155)
[ruby-core:72396]

Description

The following code gets rejected by 2.2.4:

{
  label:<<-DOC
Some text for a heredoc goes here
  DOC
}

However, it was valid in 2.2.3.

I think this might have been introduced in r51617 (#10653).

Updated by whitequark (whitequark *) almost 9 years ago

  • Description updated (diff)

Updated by nobu (Nobuyoshi Nakada) almost 9 years ago

  • Description updated (diff)
  • Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED
Actions #3

Updated by nobu (Nobuyoshi Nakada) almost 9 years ago

  • Status changed from Open to Closed

Applied in changeset r53214.


parse.y: labeled heredoc

Updated by nagachika (Tomoyuki Chikanaga) almost 9 years ago

  • Backport changed from 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE

Backported into ruby_2_2 branch at r53258.

Are there any concrete gems which is affected by this regression?
I want to know the severity of this issue in the real world.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0