Ticket #422 (new defect)
Kernel#caller compatibilty
| Reported by: | mattaimonetti@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | MacRuby Later |
| Component: | MacRuby | Keywords: | |
| Cc: | ernest.prabhakar@…, jens.nockert@… |
Description (last modified by mattaimonetti@…) (diff)
In a file:
Example:
class Foo
def self.bar
baz do
puts caller(1)
end
end
def self.baz(&block)
block.call
end
end
Foo.bar
macruby:
core:in `caller:' caller_proc.rb:9:in `baz' caller_proc.rb:3:in `bar' caller_proc.rb:13:in `<main>'
ruby1.9:
caller_proc.rb:9:in `call' caller_proc.rb:9:in `baz' caller_proc.rb:3:in `bar' caller_proc.rb:13:in `<main>
Files attached.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


