From: nagachika00@... Date: 2015-12-22T21:17:15+00:00 Subject: [ruby-core:72443] [Ruby trunk - Bug #11849] Heredoc regression in 2.2.4 Issue #11849 has been updated by Tomoyuki Chikanaga. 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. ---------------------------------------- Bug #11849: Heredoc regression in 2.2.4 https://bugs.ruby-lang.org/issues/11849#change-55738 * Author: whitequark * * Status: Closed * Priority: Normal * Assignee: * ruby -v: ruby 2.2.4p230 (2015-12-16 revision 53155) * Backport: 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE ---------------------------------------- The following code gets rejected by 2.2.4: ~~~ruby { 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). -- https://bugs.ruby-lang.org/