diff options
author | Aliaksey Kandratsenka <alk@tut.by> | 2008-11-01 13:55:45 +0200 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-11-06 19:52:44 +0000 |
commit | 099f10679ec6d9ead9606cac2f843e854787db0c (patch) | |
tree | 4c94c2e2534909915bd05fb6ca1c91a81dd68195 /railties/lib/initializer.rb | |
parent | af5b304a4002fe8ebeb8f31cd0a481dfa4a944db (diff) | |
download | rails-099f10679ec6d9ead9606cac2f843e854787db0c.tar.gz rails-099f10679ec6d9ead9606cac2f843e854787db0c.tar.bz2 rails-099f10679ec6d9ead9606cac2f843e854787db0c.zip |
Don't eval recognize_optimized use __FILE__ and __LINE__ in the optimised recognition code.
It produces meaningless line numbers. This also easily produces line numbers greater than recognition_optimization.rb have, which causes rcov to trash memory outside of it's coverage counting arrays.
[#1319 state:committed]
Signed-off-by: Michael Koziarski <michael@koziarski.com>
Diffstat (limited to 'railties/lib/initializer.rb')
0 files changed, 0 insertions, 0 deletions