Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.0.8, 2.1.3
-
None
-
None
Description
def l = [0,1,2] assert l[0,1,2,3] == [0,1,2,null] assert l[0..3] == [0,1,2,null]
the second assertion currently breaks, denoting an inconsistency in the usage of collection indexes vs. ranges.
Attachments
Issue Links
- relates to
-
GROOVY-6179 Sublist can be modified by parent list operations
- Closed