[MacRuby] #923: Kernel#caller returns an empty stack trace
MacRuby
ruby-noreply at macosforge.org
Sat Oct 2 16:12:04 PDT 2010
#923: Kernel#caller returns an empty stack trace
---------------------------------+------------------------------------------
Reporter: mred@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone: MacRuby 0.7
Component: MacRuby | Keywords:
---------------------------------+------------------------------------------
Under certain conditions Kernel#caller returns an empty stack trace
{{{
$ cat caller.rb
class A
def a arg
puts caller.inspect
end
def b
a 1
end
end
a = A.new
a.b
$ macruby caller.rb
[]
$ ruby caller.rb
["caller.rb:7:in `b'", "caller.rb:12"]
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/923>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list