General

Profile

headius (Charles Nutter)

Issues

open closed Total
Assigned issues 0 23 23
Reported issues 20 95 115

Projects

Project Roles Registered on
Ruby Committer 12/13/2012

Activity

04/18/2026

11:21 PM Ruby Bug #22007: Inconsistent type checking on rescue
byroot (Jean Boussier) wrote in #note-8:
> I suspect removing that limitation wouldn't prevent JITs from optimizing the overwhelming majority of `rescue` statements as they'd still only list one of a few classes.
Well, it wouldn't be...
headius (Charles Nutter)
03:54 AM Ruby Feature #21998: Add {Method,UnboundMethod,Proc}#source_range
Eregon (Benoit Daloze) wrote in #note-7:
> For the start position I think either is fine.
> ...
The `proc` part is irrelevant to the source of the block, and is only a method call receiver for a block argument. We wouldn't include any ...
headius (Charles Nutter)

04/17/2026

09:39 PM Ruby Bug #22007: Inconsistent type checking on rescue
I think the better fix would be to reject literal types that are clearly not going to match. Ideally, the only cases that should be admitted to a rescue would be constant accesses, or other expressions that could potentially resolve a ty... headius (Charles Nutter)
11:41 AM Ruby Feature #21962: Add deep_freeze for recursive freezing
matz (Yukihiro Matsumoto) wrote in #note-4:
> `Ractor.make_shareable` does more than deep freezing and exists for Ractor. Its presence does not by itself justify `deep_freeze` in core.
But deep freezing is the most visible effect, an...
headius (Charles Nutter)

04/01/2026

02:03 PM Ruby Revision 8824fd3b (git): [ruby/prism] Generate templated sources under main/java-templates
This path avoids the sources getting wiped out during `mvn clean`,
since they are not generated during the maven build.
This patch also moves the generated WASM build under src/main/wasm
since it is really a source file and not a test f...
headius (Charles Nutter)

03/24/2026

01:37 PM Ruby Revision cf3e7dd0 (git): [ruby/prism] Begin splitting the Java artifact into components
* The Loader API lives under java/api.
* The current native endpoint for the Prism shared library lives
under java/native.
* The WASM build and binding lives under java/wasm.
The libraries will be released together but can be develope...
headius (Charles Nutter)
01:37 PM Ruby Revision 9e733288 (git): [ruby/prism] Rework Java template generation for Maven build
This uses the JRuby rake-maven-plugin to generate the templates
as part of the Maven build. The generated output for the Java
templates will be under java/api/target/generated-sources/java.
https://github.com/ruby/prism/commit/b257151391
headius (Charles Nutter)

03/23/2026

09:02 PM Ruby Revision d2f7a19f (git): [ruby/psych] Revert "Update SnakeYAML-Engine to 3.0.1"
This reverts commit https://github.com/ruby/psych/commit/599f89d0fd42.
https://github.com/ruby/psych/commit/97973490f4
headius (Charles Nutter)
04:26 PM Ruby Feature #21960: Improve #backtrace to not confuse terminals
Is there any de-facto standard syntax that editors might interpret as a file + line combination? It would be extra great to make such stack trace output clickable AND go to the right line.
Other than supporting changes to make this ou...
headius (Charles Nutter)

03/21/2026

03:31 PM Ruby Revision 7d315536 (git): [ruby/prism] Tweaks for byte[] identifiers
* Allocate array of byte[] as byte[length][].
* Default JAVA_BACKEND to "default" with "truffleruby" the custom
option.
https://github.com/ruby/prism/commit/5f29860bb7
headius (Charles Nutter)

Also available in: Atom