From: "tenderlovemaking (Aaron Patterson)" Date: 2021-10-25T23:52:10+00:00 Subject: [ruby-core:105795] [Ruby master Bug#18267] Argument forwarding requires parenthesis on method definitions Issue #18267 has been reported by tenderlovemaking (Aaron Patterson). ---------------------------------------- Bug #18267: Argument forwarding requires parenthesis on method definitions https://bugs.ruby-lang.org/issues/18267 * Author: tenderlovemaking (Aaron Patterson) * Status: Open * Priority: Normal * ruby -v: ruby 3.1.0dev (2021-10-21T22:47:38Z master 844588f915) [x86_64-darwin20] * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- I like to write my method definitions without parenthesis. For example: ```ruby def foo bar # ... end ``` I tried to use `...`, but it doesn't work. For example if I do: ```ruby def call a, ... a.nil?(...) end ``` It will be a syntax error, and the program exits. Can we make this syntax work so that I can always omit parenthesis? Thank you! -- https://bugs.ruby-lang.org/ Unsubscribe: