viralpraxis (Iaroslav Kurbatov)
- Login: viralpraxis
- Registered on: 10/24/2024
- Last sign in: 01/04/2026
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 6 | 6 |
Activity
11/07/2025
-
08:32 AM Ruby Misc #21647: DevMeeting-2025-11-13
- * [Feature #21637] tracepoint: add support for global variables read/write events (viralpraxis)
* There seems to be no straightforward way to trace gvar reads/writes in runtime
* `Kernel.trace_var` only works when gvar name is know...
10/20/2025
-
04:24 PM Ruby Revision 5d2a244b (git): [Bug #21644] compile.c: fix `newrange` INSN peephole optimization for chilled string
- ref: https://bugs.ruby-lang.org/issues/21644
```shell
$ ruby -v -e '("a" || "b").."c"'
ruby 3.4.7 (2025-10-08 revision 7a5688e2a2) +PRISM [x86_64-linux]
-e:1: warning: possibly useless use of .. in void context
-e:1: [BUG] Stack consist... -
05:17 AM Ruby Bug #21644 (Closed): Stack consistency error for the `newrange` INSN peephole optimization with chilled string
- Applied in changeset commit:git|7587e92910e7604a4c66f2b804bfa2076339c6ff.
----------
[Bug #21644] compile.c: fix `newrange` INSN peephole optimization for chilled string
ref: https://bugs.ruby-lang.org/issues/21644
```shell
$ ruby -v ... -
04:32 AM Ruby Bug #21644 (Closed): Stack consistency error for the `newrange` INSN peephole optimization with chilled string
- PR:https://github.com/ruby/ruby/pull/14879
Confirmed on every version since 3.4.
``` shell
$ ruby -v -e '("a" || "b").."c"'
ruby 3.4.7 (2025-10-08 revision 7a5688e2a2) +PRISM [x86_64-linux]
-e:1: warning: possibly useless use of... -
05:17 AM Ruby Revision 7587e929 (git): [Bug #21644] compile.c: fix `newrange` INSN peephole optimization for chilled string
- ref: https://bugs.ruby-lang.org/issues/21644
```shell
$ ruby -v -e '("a" || "b").."c"'
ruby 3.4.7 (2025-10-08 revision 7a5688e2a2) +PRISM [x86_64-linux]
-e:1: warning: possibly useless use of .. in void context
-e:1: [BUG] Stack consist...
10/13/2025
-
09:13 PM Ruby Feature #21637: Tracing global variable assignment
- alanwu (Alan Wu) wrote in #note-2:
> > Currently, there is no straightforward way to track global variable assignments at runtime.
> ...
I'm aware of `Kernel#trace_var`, but it does not cover cases where the global variables aren't kno... -
07:36 PM Ruby Feature #21637 (Feedback): Tracing global variable assignment
- ## Motivation
Currently, there is no straightforward way to track global variable assignments at runtime.
The only workaround I am aware of involves using the `line` TracePoint event, combined with manipulation of the source code's...
07/29/2025
-
09:42 AM Ruby Bug #21513 (Closed): Converting endless range to set hangs
- Applied in changeset commit:git|d4020dd5faf28486123853e7f00c36139fc07793.
----------
[Bug #21513] Raise on converting endless range to set
ref: https://bugs.ruby-lang.org/issues/21513
Before this patch, trying to convert endless range... -
09:42 AM Ruby Revision d4020dd5 (git): [Bug #21513] Raise on converting endless range to set
- ref: https://bugs.ruby-lang.org/issues/21513
Before this patch, trying to convert endless range (e.g. `(1..)`) to set
(using `to_set`) would hang
07/15/2025
-
10:04 PM Ruby Bug #21513: Converting endless range to set hangs
- I've opened https://github.com/ruby/ruby/pull/13902