Incorrect line of code being blamed for "can't convert Fixnum into Array" 
within an array.each block
----------------------------------------------------------------------------------------------------

                 Key: JRUBY-2112
                 URL: http://jira.codehaus.org/browse/JRUBY-2112
             Project: JRuby
          Issue Type: Bug
          Components: Compiler
    Affects Versions: JRuby 1.1RC1
         Environment: ruby 1.8.6 (2008-01-07 rev 5512) [i386-jruby1.1RC1] OSX 
10.4.11
            Reporter: Ana Nelson
            Priority: Trivial
         Attachments: example.rb

In the test case attached, the error is being raised by "+" on line 2 of the 
script, but the error is reported incorrectly as coming from "each" on line 1. 
This makes it difficult to troubleshoot since you think there's something wrong 
with the array you are calling .each on.

-- 
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