[Nice-commit] Nice/testsuite/compiler/methods implementations.testsuite,1.15,1.16
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2004-08-07 12:34:15
|
Update of /cvsroot/nice/Nice/testsuite/compiler/methods In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12082/testsuite/compiler/methods Modified Files: implementations.testsuite Log Message: Clarify some comments, since there is no notion of function anymore. Index: implementations.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/implementations.testsuite,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** implementations.testsuite 15 Jan 2004 12:09:53 -0000 1.15 --- implementations.testsuite 7 Aug 2004 12:34:06 -0000 1.16 *************** *** 36,45 **** /// FAIL /// TOPLEVEL ! class A { ! void fA() {} // fA is a function } ! // Try to implement a function. This should fail gracefully. ! /*/// FAIL HERE */ fA(x@A) {} /// PASS --- 36,46 ---- /// FAIL /// TOPLEVEL ! class A { ! void fA() {} // default implementation } ! // Try to implement a method for a case equivalent to the default. ! // This should create an ambiguity. ! /*/// FAIL HERE */ fA(A a) {} /// PASS |