[Nice-commit] Nice/testsuite/compiler/classes/constructors native.testsuite,1.2,1.3
Brought to you by:
bonniot
From: <bo...@us...> - 2004-02-20 00:41:59
|
Update of /cvsroot/nice/Nice/testsuite/compiler/classes/constructors In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7950/testsuite/compiler/classes/constructors Modified Files: native.testsuite Log Message: Fixed code generation bug for the version of the constructor omitting optional parameters in the presence of subclassing. Index: native.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/classes/constructors/native.testsuite,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** native.testsuite 15 Jan 2004 21:39:19 -0000 1.2 --- native.testsuite 20 Feb 2004 00:31:10 -0000 1.3 *************** *** 13,14 **** --- 13,25 ---- class MyEx extends Exception { int i = 0; } + /// PASS + /// package a + /// toplevel + abstract class StatusCodeListener + { + public String statusCode = "1"; + } + /// package b import a + assert new NicecListener().statusCode.equals("1"); + /// toplevel + class NicecListener extends StatusCodeListener {} |