[Nice-commit] Nice/testsuite/compiler/functions anonymous.testsuite,1.9,1.10
Brought to you by:
bonniot
From: <bo...@us...> - 2003-12-15 19:06:33
|
Update of /cvsroot/nice/Nice/testsuite/compiler/functions In directory sc8-pr-cvs1:/tmp/cvs-serv997/testsuite/compiler/functions Modified Files: anonymous.testsuite Log Message: Improved robustness. Index: anonymous.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/functions/anonymous.testsuite,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** anonymous.testsuite 30 Nov 2003 14:24:35 -0000 1.9 --- anonymous.testsuite 15 Dec 2003 19:06:29 -0000 1.10 *************** *** 78,79 **** --- 78,88 ---- /// Toplevel <T> void foo(T->int f = T x => x) {} + + /// PASS + let t = new Test(); + assert (t.a)(t); + /// Toplevel + class Test { + Test->boolean a = f; + boolean f() = true; + } |