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).

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0