divide (Rafał Rzepecki)
- Login: divide
- Registered on: 11/23/2026
- Last sign in: 11/23/2026
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
11/23/2026
-
10:35 PM Ruby Bug #22629 (Closed): TracePoint :class / :end events are not fired for class << self when compiled with Prism
- Applied in changeset commit:git|e9ce844bbb4ffc0f28395c36b7cc84e038551dd2.
----------
[Bug #22629] Fire :class/:end TracePoint events for `class << obj` with Prism
The parse.y-based compiler emits RUBY_EVENT_CLASS and RUBY_EVENT_END
for... -
11:28 AM Ruby Bug #22629: TracePoint :class / :end events are not fired for class << self when compiled with Prism
- The pull request is at https://github.com/ruby/ruby/pull/20095
Note I can't seem to be able to edit the backports field, but I'd appreciate a backport to 3.4 and 4.0 because it makes some traces unreliable in an instrumentation project ... -
11:12 AM Ruby Bug #22629 (Closed): TracePoint :class / :end events are not fired for class << self when compiled with Prism
- When code is compiled with Prism (the default since Ruby 3.4), entering and leaving a singleton class body (`class << obj ... end`) does not fire the `:class` and `:end` TracePoint events. The parse.y compiler does fire them.
## Repro... -
10:34 PM Ruby Revision e9ce844b (git): [Bug #22629] Fire :class/:end TracePoint events for `class << obj` with Prism
- The parse.y-based compiler emits RUBY_EVENT_CLASS and RUBY_EVENT_END
for every ISEQ_TYPE_CLASS iseq, which includes singleton class bodies.
The Prism compiler instead keys these events on the AST node type and
only handled PM_CLASS_NODE ...