[Nice-commit] Nice/testsuite/compiler/classes initializer.testsuite,1.3,1.4
Brought to you by:
bonniot
From: <bo...@us...> - 2003-09-11 15:44:23
|
Update of /cvsroot/nice/Nice/testsuite/compiler/classes In directory sc8-pr-cvs1:/tmp/cvs-serv27407/testsuite/compiler/classes Modified Files: initializer.testsuite Log Message: Print more constructs as valid syntax. Index: initializer.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/classes/initializer.testsuite,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** initializer.testsuite 8 Sep 2003 18:49:35 -0000 1.3 --- initializer.testsuite 11 Sep 2003 15:44:20 -0000 1.4 *************** *** 106,107 **** --- 106,123 ---- /// package b import a assert new A().initialised; + + /// PASS + /// package a + /// Toplevel + class A + { + boolean initialised = false; + { + let b1 = true, b2 = true; + if (b1 && b2) + initialised = true; + } + } + /// package b import a + assert new A().initialised; + |