[Nice-commit] Nice/testsuite/compiler/expressions/arrays literal.testsuite,1.12,1.13
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2004-07-30 18:31:20
|
Update of /cvsroot/nice/Nice/testsuite/compiler/expressions/arrays In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32295/testsuite/compiler/expressions/arrays Modified Files: literal.testsuite Log Message: For literal arrays with a known expected type, perform type-checking on the elements instead of inferring the type of the whole array. Index: literal.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/expressions/arrays/literal.testsuite,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** literal.testsuite 2 Jul 2004 15:14:58 -0000 1.12 --- literal.testsuite 30 Jul 2004 18:31:11 -0000 1.13 *************** *** 54,55 **** --- 54,58 ---- lists.foreach(List<T> list => i = list.size); } + + /// FAIL + int[] i = [1, /*/// FAIL HERE*/ ""]; |