[Nice-commit] Nice/testsuite/compiler/methods implementations.testsuite,1.14,1.15
Brought to you by:
bonniot
From: <bo...@us...> - 2004-01-15 12:09:59
|
Update of /cvsroot/nice/Nice/testsuite/compiler/methods In directory sc8-pr-cvs1:/tmp/cvs-serv28747/testsuite/compiler/methods Modified Files: implementations.testsuite Log Message: Allow specialization on parameters of type Object. Index: implementations.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/implementations.testsuite,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** implementations.testsuite 23 Dec 2003 11:30:57 -0000 1.14 --- implementations.testsuite 15 Jan 2004 12:09:53 -0000 1.15 *************** *** 122,127 **** /// PASS ! foo(new Object()); /// Toplevel ! void foo(Object o); ! foo(Object o) { } --- 122,129 ---- /// PASS ! assert foo(new Object()); ! assert !foo(""); /// Toplevel ! boolean foo(Object o); ! foo(Object o) = true; ! foo(String s) = false; |