ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:96905] [Ruby master Feature#16513] TracePoint#inspect returns "... file:line" instead of "...@file:line"
       [not found] <redmine.issue-16513.20200116084610@ruby-lang.org>
@ 2020-01-16  8:46 ` zn
  2020-01-18 21:50 ` [ruby-core:96937] " eregontp
  1 sibling, 0 replies; 2+ messages in thread
From: zn @ 2020-01-16  8:46 UTC (permalink / raw)
  To: ruby-core

Issue #16513 has been reported by znz (Kazuhiro NISHIYAMA).

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

* 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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ruby-core:96937] [Ruby master Feature#16513] TracePoint#inspect returns "... file:line" instead of "...@file:line"
       [not found] <redmine.issue-16513.20200116084610@ruby-lang.org>
  2020-01-16  8:46 ` [ruby-core:96905] [Ruby master Feature#16513] TracePoint#inspect returns "... file:line" instead of "...@file:line" zn
@ 2020-01-18 21:50 ` eregontp
  1 sibling, 0 replies; 2+ messages in thread
From: eregontp @ 2020-01-18 21:50 UTC (permalink / raw)
  To: ruby-core

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-18 21:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-16513.20200116084610@ruby-lang.org>
2020-01-16  8:46 ` [ruby-core:96905] [Ruby master Feature#16513] TracePoint#inspect returns "... file:line" instead of "...@file:line" zn
2020-01-18 21:50 ` [ruby-core:96937] " eregontp

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).