Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.0.2, JRuby 1.1b1
-
Fix Version/s: JRuby 1.0.3, JRuby 1.1RC2
-
Component/s: Core Classes/Modules
-
Labels:None
-
Number of attachments :
Description
Issue originally found in Rope unit tests (only error found in Rope 0.1).
This code snippet shows the problem:
s = "0" s[1, 1] = "1" p s
This should show s as "01" not throw Index out of bounds error.
Fixed in commit 4906 on trunk and commit 4907 on 1.0 branch