Issue #16513 has been updated by Eregon (Benoit Daloze).


+1 from me.

----------------------------------------
Feature #16513: TracePoint#inspect returns "... file:line" instead of "...@file:line"
https://bugs.ruby-lang.org/issues/16513#change-83965

* Author: znz (Kazuhiro NISHIYAMA)
* Status: Assigned
* Priority: Normal
* Assignee: ko1 (Koichi Sasada)
* Target version: 
----------------------------------------
[`Proc#to_s`](https://bugs.ruby-lang.org/issues/16101) and [`Thread#to_s`](https://bugs.ruby-lang.org/issues/16412) are changed.
but `TracePoint#inspect` includes `@`.

I think changing `TracePoint#inspect` too is better 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>
```



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>