Actions
Bug #5330
closedBug Report: wrong backtrace
Description
=begin
I would like to report a ruby1.9 bug. I tried to create a new ticket in redmine. After registration(wonderix) I tried to login, but I didn't succeed. After 4 password resets I gave up.
So here is my description:
a.rb:
test = Class.new(Object)
test.class_eval(File.read("b.rb"),"b.rb",1)
test.run
b.rb:
p caller
def self.run()
p caller
end
When I run a.rb I got:
["a.rb:2:in class_eval'", "a.rb:2:in
'"]
["a.rb:3:in `'"]
Should be:
["b.rb:1:in class_eval'", "a.rb:2:in
'"]
["b.rb:3:in `'"]
ruby -v:
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]
Mit freundlichen Grüßen | best regards,
Ulrich Kramer
Senior Developer
=end
Actions
Like0
Like0Like0Like0Like0