Exception#backtrace does not report the correct file for methods included from 
modules
--------------------------------------------------------------------------------------

                 Key: JRUBY-1931
                 URL: http://jira.codehaus.org/browse/JRUBY-1931
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1b1
            Reporter: Evan Weaver


In backtraces in the tests for my library benchmark_unit, I get methods 
mis-assigned in files:

 "/opt/local/jruby-1-1/lib/ruby/1.8/test/unit/assertions.rb:46:in 
`compare_benchmark'"

compare_benchmark is actually in my library module Benchmark::Unit::Assertions 
(also in a file called 'assertions.rb' but at a local path) and is included 
into Test::Unit::Assertions. MRI points to the correct file.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to