General

Profile

matz (Yukihiro Matsumoto)

  • Login: matz
  • Email: matz@ruby.or.jp
  • Registered on: 05/09/2008
  • Last sign in: 12/16/2025

Issues

open closed Total
Assigned issues 143 694 837
Reported issues 1 30 31

Projects

Project Roles Registered on
Ruby Owner, Committer 05/18/2008

Activity

07/18/2026

08:35 PM Ruby Revision 7802cdbe (git): [ruby/prism] Fix stack-use-after-return with unterminated heredocs
The heredoc handler in parse_expression_prefix stores the address of
its stack-local common_whitespace into the heredoc lex mode. When the
heredoc terminator is missing, expect1_heredoc_term reports an error
without popping the lex mode,...
matz (Yukihiro Matsumoto)

07/11/2026

12:30 AM Ruby Feature #22097: Add Proc#with_refinements
The semantics look much better than #16461. My remaining concern is the name: `with_refinements` is too long, though I acknowledge the point raised at the dev meeting, that the name should make it clear whether it returns a copy or mutat... matz (Yukihiro Matsumoto)

07/10/2026

02:39 PM Ruby Feature #22082 (Closed): Introduce Bit Operations into String
Superseded by #22118 matz (Yukihiro Matsumoto)
02:38 PM Ruby Feature #22118: Introduce Basic Bit Operations into String
I largely accept this proposal. Byte buffer manipulation is a real need, both for embedded Ruby and for CRuby where String already serves as the de facto byte container. Here are my decisions on the details.
Naming: the vocabulary sha...
matz (Yukihiro Matsumoto)
02:25 PM Ruby Feature #20163: Introduce #bit_count method on Integer
Accepted, with one change from the proposal: `bit_count` on a negative integer shall raise `ArgumentError` instead of using the absolute value. A negative integer in Ruby is conceptually an infinite two's complement bit string, so its po... matz (Yukihiro Matsumoto)
02:11 AM Ruby Feature #18915: New error class: NotImplementedYetError or scope change for NotImplementedError
Thank you for checking. I am aware that adding any new top-level constant can conflict with existing code, but I would like to proceed as planned.
The failure mode here is benign as compatibility issues go: a superclass mismatch raise...
matz (Yukihiro Matsumoto)
02:07 AM Ruby Feature #21998: Add {Method,UnboundMethod,Proc}#source_range
Thank you, that clarifies my concerns. If the primary purpose is `Prism.find(Method|UnboundMethod|Proc)`, then the range is a key to locate the node in a full parse, and it does not need to be an evaluable fragment by itself. That also s... matz (Yukihiro Matsumoto)
01:40 AM Ruby Feature #22085: `String#to_f` and `Kernel#Float` shouldn't issue out of range warnings
Accepted.
The out of range warning is meant for float literals in source code, where the programmer can fix the literal. For runtime conversion of user input or external data, the warning is not actionable, and the return value (`Infi...
matz (Yukihiro Matsumoto)
01:38 AM Ruby Misc #22180: Provide official Windows (mswin) binary packages and a version manager
I approve all three asks: making these official distribution artifacts on ruby-lang.org, signing them with a project identity, and hosting `rbmanager` under the `ruby` organization.
The lack of an official Windows distribution has bee...
matz (Yukihiro Matsumoto)
01:05 AM Ruby Feature #21951: Lazy load error extension gems to speed up boot time
Accepted. A 3.8x boot time improvement with no regression on the error path is a clear win. Implementation details are up to you.
Matz.
matz (Yukihiro Matsumoto)

Also available in: Atom