From: nguyenquangminh0711@... Date: 2020-08-05T09:14:19+00:00 Subject: [ruby-core:99484] [Ruby master Feature#16513] TracePoint#inspect returns "... file:line" instead of "...@file:line" 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/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>