General

Profile

kddnewton (Kevin Newton)

  • Login: kddnewton
  • Email: kddnewton@gmail.com
  • Registered on: 11/20/2015
  • Last sign in: 03/02/2026

Issues

open closed Total
Assigned issues 0 111 111
Reported issues 12 86 98

Projects

Project Roles Registered on
Ruby Committer 06/28/2023

Activity

09/30/2026

05:03 PM Ruby Feature #22392: Allow refinements to define && and ||
Please don't do this. This is going to start impacting &&= and ||=, which already have very complex semantics depending on what is on the left-hand side of the expression. This is going to be very difficult to reason about. kddnewton (Kevin Newton)

09/29/2026

08:18 PM Ruby Revision 32154539 (git): [ruby/prism] Add a bitmask on context for context_p
https://github.com/ruby/prism/commit/ba8a8a7642 kddnewton (Kevin Newton)
07:02 PM Ruby Revision b74b3b45 (git): [ruby/prism] Add a constant id set
There are times when we don't need explicit order in a list of
constants, namely when looking at names of captures in a pattern
match and names of captures in a regular expression. In these cases
it's better to be linear with respect to ...
kddnewton (Kevin Newton)
06:55 PM Ruby Revision 7ebf0b69 (git): [ruby/prism] Switch ripper compat to forward look
A bunch of things are required to match ripper state, including
looking backward sometimes to pull a state forward because of the
nature of parse.y. This changes the structure from a backward look
to a forward look by keeping a couple of...
kddnewton (Kevin Newton)
06:55 PM Ruby Revision da36b454 (git): [ruby/prism] Add an implicit words sep token
The parse.y grammar has the concept of a words separator that must
delimit words in a word list literal. Prism previously didn't emit
these in the token stream because they don't actually correspond
to any source code.
However, in order...
kddnewton (Kevin Newton)

09/26/2026

03:17 PM Ruby Revision 4b0026e8 (git): [PRISM] Get rid of quadratic compilation in and/or nodes
kddnewton (Kevin Newton)

09/21/2026

03:58 PM Ruby Revision f07f65b7 (git): [PRISM] Source file no longer static literal
kddnewton (Kevin Newton)

09/04/2026

01:17 PM Ruby Bug #22287 (Closed): Prism aborts in pm_newline_list_append when requiring a file after fork
I doubt it was OOM, a lot of other stuff would have failed. I found one potential culprit that is pretty hard to hit, but technically possible here: https://github.com/ruby/prism/pull/4219. Failing any other information, I'm going to ass... kddnewton (Kevin Newton)
01:17 PM Ruby Revision 3643154e (git): [ruby/prism] Check heredoc state for escaped newlines
When escaped newlines are encountered, they are added to the newline
list. We need to check that we aren't backing up to read the rest of
the line because of a heredoc, in which case the newline would have
already have been added to the ...
kddnewton (Kevin Newton)

09/03/2026

04:20 PM Ruby Bug #22287: Prism aborts in pm_newline_list_append when requiring a file after fork
Having trouble reproducing anything here. Are you able to share the file it crashed on? Any chance there are a bunch of weird heredocs in there? (I'm shooting in the dark here a bit.) kddnewton (Kevin Newton)

Also available in: Atom