[Nice-commit] Nice/stdlib/nice/lang array.nice,1.34,1.35
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2004-03-25 00:12:45
|
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]); |