General

Profile

tompng (tomoya ishida)

Issues

open closed Total
Assigned issues 0 17 17
Reported issues 8 75 83

Projects

Project Roles Registered on
Ruby Committer 12/26/2024

Activity

11/23/2025

09:14 PM Ruby Bug #21707 (Open): Destructuring assignment of SimpleDelegator wrapped array bug with YJIT
Destructuring assignment does not work after a few iterations if YJIT is enabled.
Happens in ruby 3.4.1 and 4.0.0dev.
~~~
root@05305c0005f4:/# ruby -v
ruby 4.0.0dev (2025-11-23T19:10:29Z master 8d73a18187) +PRISM [x86_64-linux]
root...
tompng (tomoya ishida)

11/12/2025

04:58 AM Ruby Bug #21680 (Closed): Integer#digits bug starting from Ruby 3.1
Applied in changeset commit:git|f4f728b319086eea3db6e9909fb9c849c276f813.
----------
[Bug #21680] Fix (base**power_of_two).digits(base) bug (#15144)
Fix wrong condition in base multiplying loop.
tompng (tomoya ishida)
04:58 AM Ruby Revision f4f728b3 (git): [Bug #21680] Fix (base**power_of_two).digits(base) bug (#15144)
Fix wrong condition in base multiplying loop. tompng (tomoya ishida)

11/11/2025

08:25 PM Ruby Bug #21680: Integer#digits bug starting from Ruby 3.1
Pull request https://github.com/ruby/ruby/pull/15144 tompng (tomoya ishida)

11/08/2025

04:42 PM Ruby Bug #21673: Segmentation Fault in IRB when refining `Kernel#puts` using `Module#refine` (Regression since Ruby 3.4)
It can be reproduced without IRB
~~~ruby
module Foo
refine Kernel do
def puts; end
end
end
method(:puts)
~~~
tompng (tomoya ishida)

11/05/2025

06:02 AM Ruby Bug #21668 (Closed): Backport 6cc66469a007d2fb272397e5e27c20b4ce628f5e
Improves micro-benchmark of UnicodeNormalize
https://github.com/ruby/ruby/pull/14494
~~~ruby
100000.times{UnicodeNormalize.canonical_ordering_one("s\u0307\u0323")}
# 0.107795s → 0.067496s
~~~
tompng (tomoya ishida)

11/02/2025

02:51 PM Ruby Bug #21661: Endless method definition as a default value of block parameter is wrongly accepted in Prism
Inside `| |` style block parameter, binary operators (example: `1+2`, `1|2`) are rejected because we need to reject ambiguous `|`.
On the right hand side of assignment and endless def, binary operators are allowed, unless we introduce a...
tompng (tomoya ishida)
04:33 AM Ruby Revision 22496e2f (git): Update bundled irb and repl_type_completor version (#15030)
tompng (tomoya ishida)

11/01/2025

07:28 AM Ruby Bug #21661 (Closed): Endless method definition as a default value of block parameter is wrongly accepted in Prism
These are syntax error in parse.y but not in Prism.
~~~ruby
p do |a = def f = 1; b| end
p do |a = def f = 1| 2; b|c end # `|` inside block parameter
~~~
Normal assignment as a default value `p do |a = b = 1| end` is already syntax e...
tompng (tomoya ishida)
07:27 AM Ruby Bug #21660 (Closed): No-parentheses endless method definition that has parameter destructuring is wrongly accepted in Prism
This is syntax error in parse.y but not in Prism.
~~~ruby
def f a, (b) = 1
~~~
Related to #21623
tompng (tomoya ishida)

Also available in: Atom