Update of /cvsroot/nice/Nice/testsuite/compiler
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2891/testsuite/compiler
Modified Files:
globalVariables.testsuite
Log Message:
Global constants and global variables are now initialized in a proper order
when one depends on another, both directly and through the default
implementation of a method.
Index: globalVariables.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/globalVariables.testsuite,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** globalVariables.testsuite 5 Mar 2004 14:07:13 -0000 1.15
--- globalVariables.testsuite 5 Mar 2004 16:24:25 -0000 1.16
***************
*** 152,155 ****
--- 152,164 ----
let String s1 = "1";
+ /// PASS
+ assert isFoo;
+ /// Toplevel
+ var boolean isFoo = computeFoo();
+
+ var java.io.File f = new java.io.File("foo");
+
+ boolean computeFoo() = f.getPath().equals("foo");
+
/// FAIL
/// Toplevel
|