Slicing an array to an empty array seems to lose type information.
(This is a corner case and not urgent or blocking.)

>>> from System import Array
>>> empty = Array[int]([])
>>> type(empty)
<type 'Array[int]'>
>>> one = Array[int]([0])
>>> type(one)
<type 'Array[int]'>
>>> type(one[:1])
<type 'Array[int]'>
>>> type(one[:0])
<type 'Array[object]'>

Seo Sanghyeon
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to