[Nice-commit] Nice/testsuite/compiler/classes initializer.testsuite,1.16,1.17
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2004-10-09 09:41:43
|
Update of /cvsroot/nice/Nice/testsuite/compiler/classes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20438/testsuite/compiler/classes Modified Files: initializer.testsuite Log Message: Compile initializers in a $init method that is called after all constructors have been executed so that the instance is valid. (This implies that code in proper constructors cannot capture 'this' anymore, hence the simplification of gnu.expr.ConstructorExp) Index: initializer.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/classes/initializer.testsuite,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** initializer.testsuite 8 Oct 2004 17:56:00 -0000 1.16 --- initializer.testsuite 9 Oct 2004 09:41:31 -0000 1.17 *************** *** 56,60 **** } ! /// PASS bug // Initializers should be executed after all the instance variables are set let dummy = new B(); --- 56,60 ---- } ! /// PASS // Initializers should be executed after all the instance variables are set let dummy = new B(); |