ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:99484] [Ruby master Feature#16513] TracePoint#inspect returns "... file:line" instead of "...@file:line"
       [not found] <redmine.issue-16513.20200116084610.14@ruby-lang.org>
@ 2020-08-05  9:14 ` nguyenquangminh0711
  0 siblings, 0 replies; only message in thread
From: nguyenquangminh0711 @ 2020-08-05  9:14 UTC (permalink / raw)
  To: ruby-core

Issue #16513 has been updated by nguyenquangminh0711 (Minh Nguyen).


I created a patch for this ticket here: https://github.com/ruby/ruby/pull/3391.


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

* Author: znz (Kazuhiro NISHIYAMA)
* Status: Assigned
* Priority: Normal
* Assignee: ko1 (Koichi Sasada)
----------------------------------------
[`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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-05  9:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-16513.20200116084610.14@ruby-lang.org>
2020-08-05  9:14 ` [ruby-core:99484] [Ruby master Feature#16513] TracePoint#inspect returns "... file:line" instead of "...@file:line" nguyenquangminh0711

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).