Ranges in if and if_mod evaluate incorrectly
--------------------------------------------

                 Key: JRUBY-1174
                 URL: http://jira.codehaus.org/browse/JRUBY-1174
             Project: JRuby
          Issue Type: Bug
          Components: Interpreter
    Affects Versions: JRuby 1.0.0
            Reporter: Thomas E Enebo
            Assignee: Thomas E Enebo


{noformat}
puts "inclusive" if 1..2
puts "exclusive" if 1...2
puts "inclusive" if 1.1..2.1
puts "exclusive" if 1.1...2.1
{noformat}

These should all print.    These all crash much less enter the if conditional.

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