From: usa@... Date: 2014-09-24T15:14:19+00:00 Subject: [ruby-core:65259] [ruby-trunk - Bug #10288] Parser incompatibility between 2.1.2 and 2.1.3 Issue #10288 has been updated by Usaku NAKAMURA. Backport deleted (2.0.0: UNKNOWN, 2.1: REQUIRED) ---------------------------------------- Bug #10288: Parser incompatibility between 2.1.2 and 2.1.3 https://bugs.ruby-lang.org/issues/10288#change-49087 * Author: Akira Matsuda * Status: Closed * 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: ---------------------------------------- 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/