Actions
Feature #16513
closedTracePoint#inspect to return "... file:line" instead of "...@file:line"
Description
Proc#to_s
and Thread#to_s
have changed, but TracePoint#inspect
includes @
.
I think changing TracePoint#inspect
too is better for consistency.
% ruby -ve 'TracePoint.new{p _1}.enable;p'
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin18]
#<TracePoint:c_call `p'@-e:1>
#<TracePoint:c_return `p'@-e:1>
Updated by Eregon (Benoit Daloze) almost 5 years ago
+1 from me.
Updated by nguyenquangminh0711 (Quang-Minh Nguyen) over 4 years ago
I created a patch for this ticket here: https://github.com/ruby/ruby/pull/3391.
Updated by sawa (Tsuyoshi Sawada) over 4 years ago
- Subject changed from TracePoint#inspect returns "... file:line" instead of "...@file:line" to TracePoint#inspect to return "... file:line" instead of "...@file:line"
- Description updated (diff)
Updated by nguyenquangminh0711 (Quang-Minh Nguyen) over 4 years ago
- Status changed from Assigned to Closed
Applied in changeset git|1819652578e8f9fe3606f7a716ec4e427fc55f0a.
[Feature #16513] TracePoint#inspect returns "... file:line" (#3391)
Actions
Like0
Like0Like0Like0Like0