Project

General

Profile

Actions

Bug #11470

closed

extra parens required for if/unless/rescue modifier expressions in single arg method invocations

Added by bughit (bug hit) over 8 years ago. Updated over 8 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
[ruby-core:<unknown>]

Description

foo(1 if true) is not allowed requiring foo((1 if true))

also foo(1 unless true) foo(bar rescue 1)

Actions

Also available in: Atom PDF

Like0
Like0Like0