Update of /cvsroot/nice/Nice/debian
In directory sc8-pr-cvs1:/tmp/cvs-serv10304/F:/nice/debian
Modified Files:
changelog
Log Message:
Type declaration in enhanced for loop is now optional.
Index: changelog
===================================================================
RCS file: /cvsroot/nice/Nice/debian/changelog,v
retrieving revision 1.194
retrieving revision 1.195
diff -C2 -d -r1.194 -r1.195
*** changelog 8 Aug 2003 20:15:09 -0000 1.194
--- changelog 8 Aug 2003 21:47:58 -0000 1.195
***************
*** 23,26 ****
--- 23,30 ----
* Package-level constants and variables are now automatically initialized
in the correct order when they directly depend on each other.
+ * The type declaration in the enhanced forloop is now optional but only if
+ the type is inferable.
+ int[] array = [1,2,3,4,5];
+ for (elem : array) println(elem);
* Bugfixes (parameter's default value refering to previous parameters, ...)
|