[Nice-commit] Nice/testsuite/compiler/methods super.testsuite,1.9,1.10
Brought to you by:
bonniot
From: <bo...@us...> - 2003-10-03 13:50:54
|
Update of /cvsroot/nice/Nice/testsuite/compiler/methods In directory sc8-pr-cvs1:/tmp/cvs-serv19213/testsuite/compiler/methods Modified Files: super.testsuite Log Message: Super call from an implementation that comes before the super implementation, when another argument has an dispatch that can be optimized away. Index: super.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/super.testsuite,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** super.testsuite 31 Aug 2003 00:54:14 -0000 1.9 --- super.testsuite 3 Oct 2003 13:50:50 -0000 1.10 *************** *** 228,229 **** --- 228,240 ---- get(i) = cast(null); } + + /// PASS + /// Toplevel + abstract class A {} + class B extends A {} + + class M { + int f(A); + f(b@B) = super; + f(a) = 1; + } |