[Nice-commit] Nice/testsuite/compiler/methods super.testsuite,1.6,1.7
Brought to you by:
bonniot
From: <bo...@us...> - 2003-06-10 09:35:43
|
Update of /cvsroot/nice/Nice/testsuite/compiler/methods In directory sc8-pr-cvs1:/tmp/cvs-serv18173/testsuite/compiler/methods Modified Files: super.testsuite Log Message: Fix the type of super, when the super implementation is written in Nice, and does not dispatch on all positions. Index: super.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/super.testsuite,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** super.testsuite 9 Jun 2003 22:12:29 -0000 1.6 --- super.testsuite 10 Jun 2003 09:35:39 -0000 1.7 *************** *** 206,207 **** --- 206,218 ---- add(a@A, b) = super; + + /// PASS + /// Toplevel + class B { + Vector<A<B>> v = new Vector( 1 ); + } + + abstract class A<T> extends AbstractSet<T> { T x; } + + add(a@A, b) = false; + add(a@A, b@B) = super; |