logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Nice/testsuite/compiler/classes/constructors compilation.testsuite,1.4,1.5: msg#00084

Subject: Nice/testsuite/compiler/classes/constructors compilation.testsuite,1.4,1.5
Update of /cvsroot/nice/Nice/testsuite/compiler/classes/constructors
In directory 
sc8-pr-cvs1:/tmp/cvs-serv31907/testsuite/compiler/classes/constructors

Modified Files:
        compilation.testsuite 
Log Message:
Problem with duplication of a constructor when importing a compiled package.

Since this is used in the compiler, I don't mark it as bug, so that it ensure
any development version will handle this correctly.


Index: compilation.testsuite
===================================================================
RCS file: 
/cvsroot/nice/Nice/testsuite/compiler/classes/constructors/compilation.testsuite,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** compilation.testsuite       22 Apr 2003 17:56:08 -0000      1.4
--- compilation.testsuite       28 Oct 2003 12:12:47 -0000      1.5
***************
*** 52,53 ****
--- 52,71 ----
  
  class A { int a; }
+ 
+ /// PASS
+   /// package a
+   /// Toplevel
+ class SymbolTable<Sym>
+ {
+   ?Binder topBinder = null;
+ }
+ 
+ class Binder {}
+ 
+ <Sym> SymbolTable<Sym> symbolTable() = new SymbolTable();
+ 
+   /// package b import a
+   /// Toplevel
+ void foo() {
+   let SymbolTable<String> t = new SymbolTable();
+ }




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/


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