From: yugui@yugui.jp
To: ruby-core@ruby-lang.org
Subject: [ruby-core:72095] [Ruby trunk - Bug #11812] Lack of space between colon and % literal causes syntax error
Date: Sun, 13 Dec 2015 08:46:07 +0000 [thread overview]
Message-ID: <redmine.journal-55511.20151213084606.9723293bb224a11f@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-11812.20151212182420@ruby-lang.org
Issue #11812 has been updated by Yuki Sonoda.
r51617 is the cause according to bisect.
----------------------------------------
Bug #11812: Lack of space between colon and % literal causes syntax error
https://bugs.ruby-lang.org/issues/11812#change-55511
* Author: Frederick Cheung
* Status: Open
* Priority: Normal
* Assignee:
* ruby -v: ruby 2.3.0preview2 (2015-12-11 trunk 53028) [x86_64-darwin15]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
The following snippet
~~~
{tags:%w(a)}
~~~
executes fine in ruby 2.2.3, but raises "syntax error, unexpected '%" when run under ruby 2.3.0preview2. When it is changed to
~~~
{tags: %w(a)}
~~~
Then it parses with ruby 2.3.0preview2 too.
--
https://bugs.ruby-lang.org/
next prev parent reply other threads:[~2015-12-13 8:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <redmine.issue-11812.20151212182420@ruby-lang.org>
2015-12-12 18:24 ` [ruby-core:72084] [Ruby trunk - Bug #11812] [Open] Lack of space between colon and % literal causes syntax error frederick.cheung
2015-12-13 8:46 ` yugui [this message]
2015-12-17 18:21 ` [ruby-core:72222] [Ruby trunk - Bug #11812] " nagachika00
2015-12-18 4:51 ` [ruby-core:72355] " usa
2015-12-22 20:59 ` [ruby-core:72441] " nagachika00
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-55511.20151213084606.9723293bb224a11f@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).