#936: Kernel#caller reports the wrong line numbers ---------------------------------+------------------------------------------ Reporter: mred@… | Owner: lsansonetti@… Type: defect | Status: reopened Priority: minor | Milestone: MacRuby 0.8 Component: MacRuby | Resolution: Keywords: | ---------------------------------+------------------------------------------ Changes (by mred@…): * status: closed => reopened * resolution: fixed => Comment: The Kernel#caller method now reports the line number after the calling line if the calling line is followed by a method invocation. {{{ $ cat x.rb class A def f puts caller end def g f # line 7 self.inspect end end a = A.new a.g ehynes@Pomona:tmp$ macruby x.rb /private/tmp/x.rb:8:in `g' /private/tmp/x.rb:13:in `<main>' }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/936#comment:2> MacRuby <http://macruby.org/>