General

Profile

tompng (tomoya ishida)

Issues

open closed Total
Assigned issues 0 19 19
Reported issues 5 85 90

Projects

Project Roles Registered on
Ruby Committer 12/26/2024

Activity

Today

08:56 AM Ruby Revision bea269cb (git): Update repl_type_completor to 0.1.18 (#20049)
repl_type_completor 0.1.18 handles the error recovery node that prism
now wraps invalid write targets in, so its test failures no longer
need to be ignored.
This reverts commits 2979ed4723, 1e71e987c2 and 5cefc5f906.
Co-authored-by: Cl...
tompng (tomoya ishida)

08/05/2026

08:26 PM Ruby Revision 6612731a (git): Pin IRB to latest master (#18214)
tompng (tomoya ishida)

06/30/2026

06:59 AM Ruby Revision e5388655 (git): [ruby/json] Fix ResumableParser#partial_value SEGV on incomplete nested containers
partial_value rebuilds the open containers on a scratch copy of the value
stack. Folding an empty innermost container pops nothing and pushes its
result, so head climbs one past the live size; the scratch buffer was sized
to exactly the ...
tompng (tomoya ishida)

04/28/2026

03:36 PM Ruby Feature #21998: Add {Method,UnboundMethod,Proc}#source_range
Proc's source in the code below consists of 3 parts. `do`, `inside\n<<B; end`, and `exclave\nB`.
```ruby
<<A; tap do
outside injected
A
inside
<<B; end; outside
exclave
B
```
Even if heredocs are used, I think `do` is the s...
tompng (tomoya ishida)

04/16/2026

05:23 PM Ruby Bug #21999 (Third Party's Issue): Sometimes getting segfault and sometimes getting a "Floating point exception" when running some ractor code involving BigDecimal
Fixed in https://github.com/ruby/bigdecimal/pull/528 tompng (tomoya ishida)

04/15/2026

01:21 PM Ruby Bug #21999: Sometimes getting segfault and sometimes getting a "Floating point exception" when running some ractor code involving BigDecimal
Shorter reproduction code:
~~~ruby
require 'bigdecimal'
4.times.map do
Ractor.new do
loop { raise unless BigDecimal(3.14) }
end
end
sleep 1
GC.start
~~~
I guess this is a bug of BigDecimal's float parsing logic. If the...
tompng (tomoya ishida)

04/14/2026

02:52 PM Ruby Bug #21994: If there is a local variable `foo`, calls to a method `foo` with a regexp literal as first argument is always a SyntaxError without parentheses
I think checking code validness is hard for the code below.
Warning check is triggered at every line, each check needs to parse till the bottom.
~~~ruby
a -1 => b # only a(-1 => b) is valid, (a - 1) => b is invalid at the `2 => 3` pos...
tompng (tomoya ishida)

04/09/2026

10:16 AM Ruby Bug #21984: RubyVM::AST can't tell if an array is passed to break/next/return
The same thing can be also said to `a=[1,2]` and `a=1,2`.
In Prism, these are both parsed as ArrayNode with/without opening and closing.
In AbstractSyntaxTree, the non-abstract parts (bracket) are dropped. I think it's just a restricti...
tompng (tomoya ishida)
10:11 AM Ruby Bug #21988 (Closed): `return a, &b` should be syntax error
`return a, &b` is syntax error in parse.y, but accepted in Prism
~~~ruby
Prism.parse_success?('return a, &b')
#=> true
RubyVM::AbstractSyntaxTree.parse('return a, &b')
#=> block argument should not be given (SyntaxError)
~~~
W...
tompng (tomoya ishida)

03/16/2026

11:49 PM Ruby Revision 4c6c02d8 (git): fix invalid nodoc comment of Pathname#plus
tompng (tomoya ishida)

Also available in: Atom