Issue #4379 has been updated by ko1 (Koichi Sasada).

Target version changed from 2.0.0 to next minor

Are there any applications that this problem is critical for?
----------------------------------------
Bug #4379: [patch] eval(s, b, "(eval)", n) discards location
https://bugs.ruby-lang.org/issues/4379#change-33903

Author: quix (James M. Lawrence)
Status: Assigned
Priority: Normal
Assignee: ko1 (Koichi Sasada)
Category: core
Target version: next minor
ruby -v: ruby 1.9.3dev (2011-02-08 trunk 30820) [i386-darwin9.8.0]


=begin
 % ruby -e 'p eval("raise", nil, "(eval)", 999)'
 -e:1:in `eval': (eval):999:in `<main>':  (RuntimeError)
 	from -e:1:in `eval'
 	from -e:1:in `<main>'
 
 With binding, location is ignored.
 
 % ruby -e 'p eval("raise", binding, "(eval)", 999)'
 -e:1:in `<main>': unhandled exception
 	from -e:1:in `eval'
 	from -e:1:in `<main>'
 
 source_location has a similar problem.
 
 The patch also applies cleanly to 1.9.2.
=end



-- 
http://bugs.ruby-lang.org/