From: bughit.github@... Date: 2021-07-19T18:47:41+00:00 Subject: [ruby-core:104643] [Ruby master Bug#18040] Why should `foo(1 if true)` be an error? Issue #18040 has been reported by bughit (bug hit). ---------------------------------------- Bug #18040: Why should `foo(1 if true)` be an error? https://bugs.ruby-lang.org/issues/18040 * Author: bughit (bug hit) * Status: Open * Priority: Normal * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- There's no ambiguity here that should require another set of parens `foo((1 if true))` -- https://bugs.ruby-lang.org/ Unsubscribe: