General

Profile

Earlopain (Earlopain _)

  • Login: Earlopain
  • Registered on: 04/24/2024
  • Last sign in: 10/20/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 7 36 43

Projects

Project Roles Registered on
Ruby Contributor 12/08/2025

Activity

10/22/2026

05:08 AM Ruby Revision 479bab3e (git): [ruby/prism] Remove a warning from `discarded-qualifiers`
I've been seeing this for a while now:
```
../../../../ext/prism/../../src/memchr.c: In function ‘pm_memchr’:
../../../../ext/prism/../../src/memchr.c:35:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarde...
Earlopain (Earlopain _)

10/19/2026

07:50 PM Ruby Revision 2720e66e (git): [ruby/prism] Add a link to the playground for code examples
Gives it a bit more visibility
https://github.com/ruby/prism/commit/8e0cd483af
Earlopain (Earlopain _)
05:54 PM Ruby Revision e4e11a71 (git): Fix some prism docs
The current version is too dynamic for rdoc
and so C methods like `Ruby::Prism.lex` are not doccumented.
Also tweak `Ruby::Prism` introduction. Ruby makes breaking changes
in minor versions all the time, no need to call it out.
Earlopain (Earlopain _)
11:19 AM Ruby Misc #21630 (Closed): Suggest @Earlopain for core contributor
Earlopain (Earlopain _)

10/13/2026

07:17 PM Ruby Revision a4ccceac (git): [ruby/prism] Make code examples explicitly ruby for rdoc
Because of the `^^^` hints, it's not valid ruby and so rdoc
gives it no syntax highlighting.
We can convince it otherwise and syntax-highlight syntax-invalid code.
Although it is syntax-invalid, the results look very good.
https://gith...
Earlopain (Earlopain _)

10/12/2026

11:39 AM Ruby Revision bb12f054 (git): [ruby/prism] Initialize `filepath` option to the empty string
Same as `current_string`, set it to be empty.
Similarly, when populating user-provided options, we need to check the lengh, same as for `encoding`.
Closes https://github.com/ruby/prism/issues/4249
https://github.com/ruby/prism/commit/c...
Earlopain (Earlopain _)

10/07/2026

11:02 AM Ruby Feature #22379: Remove prism mismatch warning from `#syntax_tree`
Currently it loudly returns the correct node and I would simply always ignore this warning because it is just noise. Should I ever hit the case where it is actually different I would never know.
On `Ruby::Prism`, I believe that approa...
Earlopain (Earlopain _)

10/04/2026

09:34 PM Ruby Bug #22253 (Closed): Clang UBSan reports NULL/0 memcpy for eval scope locals
Applied in changeset commit:git|f19c5dcd3f68d288112b1b139b6fc75200fba742.
----------
[Bug #22253] Fix UB in prism eval with numbered params
locals are just zero-allocated. This leaves their source NULL,
which may later be `memcpy`d
We...
Earlopain (Earlopain _)
09:34 PM Ruby Revision f19c5dcd (git): [Bug #22253] Fix UB in prism eval with numbered params
locals are just zero-allocated. This leaves their source NULL,
which may later be `memcpy`d
We don't have to care about numbered params because of https://github.com/ruby/prism/commit/a218a0f265a71aecefe43a1b646917ca37f25547
We don't h...
Earlopain (Earlopain _)

09/30/2026

06:56 AM Ruby Bug #22393 (Closed): Backport bf937bfa16767a4dd857ee16f4f18df1bae4d5ca - Fix memory leak on compile error in a later branch of an alternation
Thanks. I have marked the original ticket for backport. Earlopain (Earlopain _)

Also available in: Atom