Nice/testsuite/compiler/classes specialization.testsuite,1.11,1.12

Daniel Bonniot <[email protected]> Tue, 22 Mar 2005 11:31:40 +0000
Newsgroups gmane.comp.lang.nice.cvs
Message-ID <[email protected]>
Update of /cvsroot/nice/Nice/testsuite/compiler/classes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20565/testsuite/compiler/classes

Modified Files:
	specialization.testsuite 
Log Message:
Using this in the initializer of a class with specialized type parameters.


Index: specialization.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/classes/specialization.testsuite,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** specialization.testsuite	16 Feb 2005 22:34:49 -0000	1.11
--- specialization.testsuite	22 Mar 2005 11:31:38 -0000	1.12
***************
*** 192,193 ****
--- 192,205 ----
    /// package b import a
    C c = new C(0);
+ 
+ /// PASS bug
+   /// Toplevel
+ class A<T> {}
+ void foo(A<int> a) {}
+ 
+ class B extends A<int>
+ {
+   {
+     foo(this);
+   }
+ }



-------------------------------------------------------
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