[Nice-commit] Nice/testsuite/compiler/methods implementations.testsuite,1.7,1.8
Brought to you by:
bonniot
|
From: <bo...@us...> - 2003-03-14 00:55:29
|
Update of /cvsroot/nice/Nice/testsuite/compiler/methods
In directory sc8-pr-cvs1:/tmp/cvs-serv19461/testsuite/compiler/methods
Modified Files:
implementations.testsuite
Log Message:
Always check that the patterns of a method implementation are in the domain
of the method.
Index: implementations.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/implementations.testsuite,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** implementations.testsuite 20 Feb 2003 01:27:53 -0000 1.7
--- implementations.testsuite 14 Mar 2003 00:55:24 -0000 1.8
***************
*** 74,75 ****
--- 74,83 ----
void foo(I);
foo(#I){}
+
+ /// FAIL
+ /// Toplevel
+ class A {}
+ class B extends A{}
+
+ void foo(B);
+ foo(@A){}
|