Update of /cvsroot/nice/Nice/testsuite/compiler/methods
In directory sc8-pr-cvs1:/tmp/cvs-serv4414/testsuite/compiler/methods
Modified Files:
constrained.testsuite
Log Message:
Take class constraints into account when looking for the declaration
corresponding to a method implementation.
Index: constrained.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/constrained.testsuite,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** constrained.testsuite 3 Jun 2003 13:24:04 -0000 1.3
--- constrained.testsuite 18 Jun 2003 18:12:46 -0000 1.4
***************
*** 64,68 ****
foo(@X,@Y) {}
! /// FAIL bug
///Toplevel
class A{}
--- 64,68 ----
foo(@X,@Y) {}
! /// FAIL
///Toplevel
class A{}
***************
*** 72,75 ****
void foo(I<B>);
! foo(@X){}
//@X is not in the domain of foo
--- 72,75 ----
void foo(I<B>);
! /*/// FAIL HERE */ foo(@X){}
//@X is not in the domain of foo
|