[Nice-commit] Nice/testsuite/compiler/expressions/arrays literal.testsuite,1.6,1.7
Brought to you by:
bonniot
From: <bo...@us...> - 2003-02-18 17:58:10
|
Update of /cvsroot/nice/Nice/testsuite/compiler/expressions/arrays In directory sc8-pr-cvs1:/tmp/cvs-serv32117/testsuite/compiler/expressions/arrays Modified Files: literal.testsuite Log Message: Check that values inside literal arrays are not ambiguous (fixes #670084). Index: literal.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/expressions/arrays/literal.testsuite,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** literal.testsuite 15 Jan 2003 10:16:36 -0000 1.6 --- literal.testsuite 18 Feb 2003 17:57:55 -0000 1.7 *************** *** 25,26 **** --- 25,34 ---- /// PASS int[][] array2 = [[11,12],[21,22]]; + + /// PASS + // Use an implicit this inside a literal expression. + /// Toplevel + class A { + String name; + String[] a() = [name]; + } |