Update of /cvsroot/nice/Nice/testsuite/compiler/methods
In directory sc8-pr-cvs1:/tmp/cvs-serv29077/testsuite/compiler/methods
Modified Files:
super.testsuite
Log Message:
Call the correct super implementation when an implemented interface also
declared the method.
Index: super.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/super.testsuite,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** super.testsuite 10 Jun 2003 09:35:39 -0000 1.7
--- super.testsuite 29 Aug 2003 17:41:45 -0000 1.8
***************
*** 217,218 ****
--- 217,229 ----
add(a@A, b) = false;
add(a@A, b@B) = super;
+
+ /// PASS bug
+ new Bar().isEmpty();
+ /// Toplevel
+ class Bar<T> extends AbstractList<T>
+ {
+ isEmpty() = super;
+
+ size() = 0;
+ get(i) = cast(null);
+ }
|