Details
-
Type:
New Feature
-
Status:
In Progress
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 0.8.2
-
Fix Version/s: 0.9.5
-
Component/s: Command line tools
-
Labels:None
-
Number of attachments :
Description
Currently using complex slicing on a generic collection (or actually any type which is not a builtin nor string), gives an error :
>>>import System.Collections.Generic >>>l = List[of int]() >>>l.Add(4) >>>l.Add(8) >>>l.Add(15) >>>l.Add(16) >>>l.Add(23) >>>l.Add(42) >>>l[2:3] -----^ ERROR: Language feature still not implemented: 'complex slicing for anything but lists, arrays and strings'.
Should return instead an int* with the items in the range 2:3