Update of /cvsroot/nice/Nice/stdlib/nice/lang
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8491/stdlib/nice/lang
Modified Files:
array.nice
Log Message:
The slice method on arrays overrides the slice method on Lists.
Index: array.nice
===================================================================
RCS file: /cvsroot/nice/Nice/stdlib/nice/lang/array.nice,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** array.nice 20 Mar 2004 11:26:13 -0000 1.34
--- array.nice 25 Mar 2004 00:02:03 -0000 1.35
***************
*** 84,88 ****
}
! <T> T[] slice(T[] array, int from = 0, int to = array.length - 1) =
fill(new T[to - from + 1], int i => array[i + from]);
--- 84,88 ----
}
! override <T> T[] slice(T[] array, int from = 0, int to = array.length - 1) =
fill(new T[to - from + 1], int i => array[i + from]);
|