zip with Range argument does not work in 1.9 mode
-------------------------------------------------

                 Key: JRUBY-5740
                 URL: http://jira.codehaus.org/browse/JRUBY-5740
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules, Interpreter
    Affects Versions: JRuby 1.6.1
         Environment: Debian Linux 64-bits
            Reporter: Rodrigo Rosenfeld Rosas
            Priority: Critical


Using --1.9, the following fails in JRuby:

(0..1).zip(0..1)

This work in 1.8 mode and work in both MRI 1.8 and 1.9.

The following snippet work in MRI 1.9 but doesn't work in MRI 1.8 (raises 
TypeError) nor in JRuby (either 1.8 or 1.9):

[1].zip(0..1)

The Prawn gem relies on zip working with two ranges.

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