[ruby-core:65250] [ruby-trunk - Bug #10288] Parser incompatibility between 2.1.2 and 2.1.3

From: ronnie@...
Date: 2014-09-24 01:35:38 UTC
List: ruby-core #65250
Issue #10288 has been updated by Akira Matsuda.

Assignee changed from Yukihiro Matsumoto to Tomoyuki Chikanaga
Target version deleted (current: 2.2.0)

----------------------------------------
Bug #10288: Parser incompatibility between 2.1.2 and 2.1.3
https://bugs.ruby-lang.org/issues/10288#change-49081

* Author: Akira Matsuda
* Status: Open
* Priority: Normal
* Assignee: Tomoyuki Chikanaga
* Category: syntax
* Target version: 
* ruby -v: ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin12.0]
* Backport: 2.0.0: UNKNOWN, 2.1: REQUIRED
----------------------------------------
This code successfully prints {:foo=>1} in 2.1.2 and current trunk but causes "syntax error, unexpected modifier_if" in 2.1.3

~~~
p({foo: if true then 1 end})
~~~



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next