General

Profile

nobu (Nobuyoshi Nakada)

  • Login: nobu
  • Email: nobu@ruby-lang.org
  • Registered on: 04/27/2008
  • Last sign in: 02/05/2026

Issues

open closed Total
Assigned issues 49 860 909
Reported issues 25 296 321

Projects

Project Roles Registered on
Ruby Committer, Contributor 04/27/2008

Activity

Today

01:02 PM Ruby Feature #21875: Handling of trailing commas in lambda parameters
Earlopain (Earlopain _) wrote:
> If a trailing comma is accepted it can either
> ...
Rather I think it should be allowed even after optional/rest/keyword/keyword-rest arguments in block parameters too.
nobu (Nobuyoshi Nakada)
10:44 AM Ruby Revision 45dce19e (git): parse.y: Parameterize argument list rules
Parametrize `block_param` and `f_args` into `arg-list` and
`tail-only-args`. Since the pattern for `pre_args` alone differs
between `opt_comma` and `excessed_comma`, retain it within each rule.
nobu (Nobuyoshi Nakada)
10:44 AM Ruby Revision d68e4be1 (git): lrama pre-0.8.0
master as of 2026-03-01.
ruby/lrama@e8dbb063afd42432899dac796384b00ef61986b0
nobu (Nobuyoshi Nakada)
03:10 AM Ruby Revision 0980de4c (git): parse.y: Extract new_empty_args_tail macro
nobu (Nobuyoshi Nakada)
03:04 AM Ruby Revision 504cf455 (git): parse.y: Extract f_empty_arg
nobu (Nobuyoshi Nakada)
12:20 AM Ruby Revision 851a10bc (git): Revert "parse.y: narrow excessed_comma to block_param_def"
This reverts commit 2239d54348d9f1f7768860efc9e76876f85766d8.
At first glance, it seemed like a good idea, but it wasn't all that
great.
nobu (Nobuyoshi Nakada)

02/27/2026

04:01 PM Ruby Revision 68080feb (git): parse.y: Unify to use only tagged references
Unify references in rules that mix positional references and tagged
references. Leave the positional reference-only rules unchanged.
nobu (Nobuyoshi Nakada)
02:47 PM Ruby Revision 486f7fcc (git): parse.y: prefer @$ over @0 in empty-rule actions
nobu (Nobuyoshi Nakada)
04:10 AM Ruby Revision 2239d543 (git): parse.y: narrow excessed_comma to block_param_def
nobu (Nobuyoshi Nakada)
04:06 AM Ruby Bug #21927 (Closed): Prism: misleading error message for forwarding in lambda argument
Even in a forwarding method:
```console
$ ruby --parser=prism -e 'def m(...) ->(...){}; end'
-e: -e:1: syntax error found (SyntaxError)
> 1 | def m(...) ->(...){}; end
| ^~~ unexpected ... when the parent method ...
nobu (Nobuyoshi Nakada)

Also available in: Atom