[Nice-commit] Nice/testsuite/compiler/functions anonymous.testsuite,1.6,1.7
Brought to you by:
bonniot
From: <bo...@us...> - 2003-07-26 08:32:51
|
Update of /cvsroot/nice/Nice/testsuite/compiler/functions In directory sc8-pr-cvs1:/tmp/cvs-serv14538/testsuite/compiler/functions Modified Files: anonymous.testsuite Log Message: Bug in the type-checking of anonymous functions as default values. Index: anonymous.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/functions/anonymous.testsuite,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** anonymous.testsuite 22 May 2003 12:34:48 -0000 1.6 --- anonymous.testsuite 25 Jul 2003 13:45:13 -0000 1.7 *************** *** 74,75 **** --- 74,79 ---- /// FAIL int->String f = int i => { if (false) throw new Error(); }; + + /// FAIL bug + /// Toplevel + <T> void foo(T->int f = T x => x) {} |