Actions
Bug #11849
closedHeredoc regression in 2.2.4
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.4p230 (2015-12-16 revision 53155)
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 *) about 9 years ago
- Description updated (diff)
Updated by nobu (Nobuyoshi Nakada) about 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
Updated by nobu (Nobuyoshi Nakada) about 9 years ago
- Status changed from Open to Closed
Applied in changeset r53214.
parse.y: labeled heredoc
- parse.y (parser_yylex): allow here documents in labeled
argument. [ruby-core:72396] [Bug #11849]
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
Like0
Like0Like0Like0Like0Like0