From: nobu@... Date: 2015-08-21T07:54:41+00:00 Subject: [ruby-core:70502] [Ruby trunk - Bug #11470] [Rejected] extra parens required for if/unless/rescue modifier expressions in single arg method invocations Issue #11470 has been updated by Nobuyoshi Nakada. Status changed from Open to Rejected It's a spec. ---------------------------------------- Bug #11470: extra parens required for if/unless/rescue modifier expressions in single arg method invocations https://bugs.ruby-lang.org/issues/11470#change-53901 * Author: bug hit * Status: Rejected * Priority: Normal * Assignee: * ruby -v: * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- foo(1 if true) is not allowed requiring foo((1 if true)) also foo(1 unless true) foo(bar rescue 1) -- https://bugs.ruby-lang.org/