ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: nagachika00@gmail.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:72443] [Ruby trunk - Bug #11849] Heredoc regression in 2.2.4
Date: Tue, 22 Dec 2015 21:17:15 +0000	[thread overview]
Message-ID: <redmine.journal-55738.20151222211715.6be4c06d81f1da03@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-11849.20151219235941@ruby-lang.org

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/

  parent reply	other threads:[~2015-12-22 20:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-11849.20151219235941@ruby-lang.org>
2015-12-19 23:59 ` [ruby-core:72396] [Ruby trunk - Bug #11849] [Open] Heredoc regression in 2.2.4 whitequark
2015-12-20  0:02 ` [ruby-core:72397] [Ruby trunk - Bug #11849] " whitequark
2015-12-20  2:43 ` [ruby-core:72401] " nobu
2015-12-22 21:17 ` nagachika00 [this message]
2016-01-04  6:42 ` [ruby-core:72696] " s.wanabe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-55738.20151222211715.6be4c06d81f1da03@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).