Project

General

Profile

Feature #16513

Updated by sawa (Tsuyoshi Sawada) over 4 years ago

[`Proc#to_s`](https://bugs.ruby-lang.org/issues/16101) and [`Thread#to_s`](https://bugs.ruby-lang.org/issues/16412) have changed, are 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> 
 ```

Back