General

Profile

yui-knk (Kaneko Yuichiro)

  • Login: yui-knk
  • Registered on: 02/17/2014
  • Last sign in: 11/13/2025

Issues

open closed Total
Assigned issues 0 24 24
Reported issues 1 31 32

Projects

Project Roles Registered on
Ruby Committer 12/07/2015

Activity

12/11/2025

09:35 AM Ruby Bug #21712 (Closed): Prism and parse.y inconsistency in command call with block and `.()`
Applied in changeset commit:git|c5b51bdd8c69ae038daf80cb227df854ca0110f1.
----------
[Bug #21712] Allow `.()` call for command with block
This commit allows codes like `a b do end.()` and `a b do end&.()`.
yui-knk (Kaneko Yuichiro)
09:35 AM Ruby Revision c5b51bdd (git): [Bug #21712] Allow `.()` call for command with block
This commit allows codes like `a b do end.()` and `a b do end&.()`. yui-knk (Kaneko Yuichiro)

12/09/2025

01:09 AM Ruby Revision 576acb95 (git): Remove `FORWARD_ARGS_WITH_RUBY2_KEYWORDS` check
Because `FORWARD_ARGS_WITH_RUBY2_KEYWORDS` definition was removed
by 4f77d8d3289ece0e3537d9273a5c745120bff59a.
yui-knk (Kaneko Yuichiro)
01:09 AM Ruby Revision 056997cb (git): Remove needless `ruby2_keywords` field from `struct rb_args_info`
`ruby2_keywords` is set only to be `0` in parse.y.
However `args->ruby2_keywords` is initialized with `0` by `MEMZERO`
in `rb_node_args_new` function and `body->param.flags.ruby2_keywords`
is initialized with `0` by `ZALLOC` in `rb_iseq_...
yui-knk (Kaneko Yuichiro)

12/04/2025

12:39 AM Ruby Revision b79ef73a (git): Remove needless parse.y `value_expr` macro
In the past parse.y and ripper had different `value_expr` definition
so that `value_expr` does nothing for ripper.
```c
// parse.y
#define value_expr(node) value_expr_gen(p, (node))
// ripper
#define value_expr(node) ((void)(node))
```...
yui-knk (Kaneko Yuichiro)
12:39 AM Ruby Revision e96bbd71 (git): Remove needless parse.y `new_nil` macro
In the past parse.y and ripper had different `new_nil` definition
so that `new_nil` returns `nil` for ripper.
```c
// parse.y
#define new_nil(loc) NEW_NIL(loc)
// ripper
#define new_nil(loc) Qnil
```
However Rearchitect Ripper (89cfc1...
yui-knk (Kaneko Yuichiro)

12/03/2025

01:18 AM Ruby Revision dfdc5d40 (git): Check and raise semantics errors on nested variables captures in patterns
This commit makes these codes to be invalid.
```ruby
case 0
in [a] | 1
end
case 0
in { a: b } | 1
end
case 0
in [{ a: [{ b: [{ c: }] }] }] | 1
end
```
yui-knk (Kaneko Yuichiro)

11/17/2025

01:27 PM Ruby Bug #21168: Prism doesn't require argument parentheses (in some cases) when a block is present but parse.y does
PR: https://github.com/ruby/ruby/pull/15217 yui-knk (Kaneko Yuichiro)

11/14/2025

02:23 AM Ruby Revision 560ec9bf (git): Skip null check for `brace_block`
`brace_block` is `'{' brace_body '}'` or `k_do do_body k_end`.
Both of them are not null so no need to check `$5`.
yui-knk (Kaneko Yuichiro)

11/13/2025

03:39 AM Ruby Bug #18878: parse.y: Foo::Bar {} is inconsistently rejected
Pull Request: https://github.com/ruby/ruby/pull/15165 yui-knk (Kaneko Yuichiro)

Also available in: Atom