Project

General

Profile

Actions

Feature #18040

closed

Why should `foo(1 if true)` be an error?

Added by bughit (bug hit) almost 3 years ago. Updated almost 3 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
[ruby-core:104643]

Description

There's no ambiguity here that should require another set of parens foo((1 if true))

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0