diff dmd/InterfaceDeclaration.d @ 130:60bb0fe4563e

dmdfe 2.037 first main iteration
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Thu, 09 Sep 2010 22:51:44 +0100
parents 767a01c2a272
children d8565fbd755c
line wrap: on
line diff
--- a/dmd/InterfaceDeclaration.d	Sun Sep 05 15:32:22 2010 +0400
+++ b/dmd/InterfaceDeclaration.d	Thu Sep 09 22:51:44 2010 +0100
@@ -8,7 +8,7 @@
 import dmd.Type;
 import dmd.TY;
 import dmd.LINK;
-import dmd.Argument;
+import dmd.Parameter;
 import dmd.Util;
 import dmd.TypeTuple;
 import dmd.PROT;
@@ -112,9 +112,9 @@
 			{   TypeTuple tup = cast(TypeTuple)tb;
 				PROT protection = b.protection;
 				baseclasses.remove(i);
-				size_t dim = Argument.dim(tup.arguments);
+				size_t dim = Parameter.dim(tup.arguments);
 				for (size_t j = 0; j < dim; j++)
-				{	Argument arg = Argument.getNth(tup.arguments, j);
+				{	auto arg = Parameter.getNth(tup.arguments, j);
 				b = new BaseClass(arg.type, protection);
 				baseclasses.insert(i + j, b);
 				}
@@ -203,7 +203,7 @@
 			// Skip if b has already appeared
 			for (int k = 0; k < i; k++)
 			{
-				if (b == interfaces[i])
+				if (b == interfaces[k])
 				goto Lcontinue;
 			}
 
@@ -407,7 +407,7 @@
 	#if DMDV2
 			const(MemberInfo[]) function(string) xgetMembers;	// module getMembers() function
 	#endif
-			TypeInfo typeinfo;
+			//TypeInfo typeinfo;
 		   }
 		 */
 		dt_t *dt = null;
@@ -472,7 +472,7 @@
 		dtdword(&dt, 0);
 	}
 
-		dtxoff(&dt, type.vtinfo.toSymbol(), 0, TYnptr);	// typeinfo
+		//dtxoff(&dt, type.vtinfo.toSymbol(), 0, TYnptr);	// typeinfo
 
 		//////////////////////////////////////////////