""[0...-1] returns nil instead of "" ------------------------------------
Key: JRUBY-1184 URL: http://jira.codehaus.org/browse/JRUBY-1184 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.0.0 Environment: Windows XP SP2, JRE 1.5.0_11 Reporter: Dinko Srkoc Attachments: testString.patch s = "" s[0...-1] returns "" in MRI, but nil in JRuby. I have attached a test/testString.rb patch that adds this test. -- 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