General

Profile

niku (niku _)

  • Login: niku
  • Email: d5ek6a@gmail.com
  • Registered on: 04/05/2012
  • Last sign in: 05/23/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

09/07/2026

06:06 AM Ruby Bug #22015 (Closed): Success without RUBY_BOX=1, Failure with RUBY_BOX=1
Applied in changeset commit:git|3b9ada18c9acad899b178b49dbc4a87f8b9561ab.
----------
Ensure Symbol#to_proc respects caller's Ruby::Box context
[Bug #22015]
During a normal method call, the VM creates a control frame, and the Ruby::Box ...
niku (niku _)
06:06 AM Ruby Revision 3b9ada18 (git): Ensure Symbol#to_proc respects caller's Ruby::Box context
[Bug #22015]
During a normal method call, the VM creates a control frame, and the Ruby::Box associated with that frame determines the execution context.
However, Symbol#to_proc does not automatically create a frame.
Therefore, we need to...
niku (niku _)
04:14 AM Ruby Bug #21977 (Closed): Ruby::Box crash with `RUBY_BOX=1` via `Binding` refinement, `UnboundMethod#bind_call`, and `Symbol#to_proc`
Applied in changeset commit:git|1fe4fcf1852fe9887f2903e800d026b3a952b5c0.
----------
Fix Box resolution crash with IFUNC frames
[Bug #21977]
When `RUBY_BOX=1` is set, combining `binding` with `Symbol#to_proc` causes a crash (`[BUG] BUG...
niku (niku _)
04:13 AM Ruby Revision 1fe4fcf1 (git): Fix Box resolution crash with IFUNC frames
[Bug #21977]
When `RUBY_BOX=1` is set, combining `binding` with `Symbol#to_proc` causes a crash (`[BUG] BUG: Local ep without cme/box`).
This occurs because escaping an `IFUNC` frame via `binding` adds the `VM_ENV_FLAG_LOCAL` flag. `VM_...
niku (niku _)

05/07/2026

04:18 AM Ruby Bug #22015: Success without RUBY_BOX=1, Failure with RUBY_BOX=1
I believe https://github.com/ruby/ruby/pull/16865 addresses this issue. niku (niku _)

05/02/2026

05:02 AM Ruby Bug #22015: Success without RUBY_BOX=1, Failure with RUBY_BOX=1
I found a minimal reproduction case.
The issue seems to relate to how `Enumerable#flat_map` handles `Symbol#to_proc` within a `Ruby::Box` environment. Notably, `map(&:method)` works as expected, while `flat_map(&:method)` fails.
```...
niku (niku _)

04/24/2026

03:57 PM Ruby Bug #22015 (Closed): Success without RUBY_BOX=1, Failure with RUBY_BOX=1
```
$ ruby -v
ruby 4.1.0dev (2026-04-24T13:35:04Z master 52ee497f36) +PRISM [arm64-darwin25]
```
```
$ ruby -e 'require "bundler/inline"; gemfile {}'
```
It ran fine as expected, but it failed when I added RUBY_BOX=1.
```
...
niku (niku _)

10/23/2025

12:16 AM Ruby Revision 36e7db00 (git): [DOC] Tweaks for TCPSocket.new
niku (niku _)

08/31/2025

06:55 AM Ruby Bug #21558: Regexp.union with multiple regexps returns a non-shareable object (should be shareable if possible)
I've found an issue that already talked about it https://bugs.ruby-lang.org/issues/17256. niku (niku _)
06:42 AM Ruby Bug #21558: Regexp.union with multiple regexps returns a non-shareable object (should be shareable if possible)
> Regexp.union creates a new instance, except for a single Regexp argument case.
Ah, that makes perfect sense now. Thank you for the detailed explanation.
```irb
irb(main):001> a = /a/
=> /a/
irb(main):002> a.__id__
=> 7232
ir...
niku (niku _)

Also available in: Atom