logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Nice/testsuite/compiler/overloading resolution.testsuite,1.3,1.4: msg#00048

Subject: Nice/testsuite/compiler/overloading resolution.testsuite,1.3,1.4
Update of /cvsroot/nice/Nice/testsuite/compiler/overloading
In directory sc8-pr-cvs1:/tmp/cvs-serv21694/testsuite/compiler/overloading

Modified Files:
        resolution.testsuite 
Log Message:
In a set of mutually dependent packages, typecheck all of them first, 
before starting to generate code.

Fixes #772784.


Index: resolution.testsuite
===================================================================
RCS file: 
/cvsroot/nice/Nice/testsuite/compiler/overloading/resolution.testsuite,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** resolution.testsuite        4 Jun 2003 17:06:53 -0000       1.3
--- resolution.testsuite        17 Jul 2003 23:10:36 -0000      1.4
***************
*** 74,75 ****
--- 74,105 ----
    /// Toplevel
    void foo(int e) requires e >= 0 {}
+ 
+ /// PASS
+   /// package rohan.C dontcompile
+   /// Toplevel
+ 
+ import rohan.A;
+ import rohan.B;
+ 
+ class CC {
+ void g() {
+ B d = new B(l: []); // no crash if this is... new B();
+ }
+ }   
+ 
+   /// package rohan.A dontcompile
+   /// Toplevel
+ 
+ import rohan.B;
+ 
+ class B {
+ List<B> l = new ArrayList();
+ }
+ 
+   /// package rohan.B
+   /// Toplevel
+ 
+ import rohan.A;
+ import rohan.C;
+ 
+ void dummy() {}




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0


<Prev in Thread] Current Thread [Next in Thread>