Nice/testsuite/compiler/classes/constructors compilation.testsuite,1.10,1.11
Daniel Bonniot <[email protected]> Sun, 13 Mar 2005 03:24:07 +0000
| Newsgroups | gmane.comp.lang.nice.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/nice/Nice/testsuite/compiler/classes/constructors
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8307/testsuite/compiler/classes/constructors
Modified Files:
compilation.testsuite
Log Message:
Optim: avoid checking the type of default values for method parameters in compiled packages.
Index: compilation.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/classes/constructors/compilation.testsuite,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** compilation.testsuite 1 Mar 2005 18:56:19 -0000 1.10
--- compilation.testsuite 13 Mar 2005 03:24:04 -0000 1.11
***************
*** 97,98 ****
--- 97,109 ----
/// package b import a
{}
+
+ /// PASS
+ /// package a
+ /// Toplevel
+ class Scope<Sym>
+ {
+ private List<Sym> empty = new Sym[0];
+ }
+
+ /// package b import a
+ Scope<String> s = new Scope();
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click