diff dmd/TemplateTypeParameter.d @ 94:3a0b150c9841

Objects -> Vector!Object iteration 1
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Mon, 30 Aug 2010 23:00:34 +0100
parents 2e2a5c3f943a
children 3482c73a991b
line wrap: on
line diff
--- a/dmd/TemplateTypeParameter.d	Mon Aug 30 22:50:30 2010 +0200
+++ b/dmd/TemplateTypeParameter.d	Mon Aug 30 23:00:34 2010 +0100
@@ -199,7 +199,7 @@
 
 		if (!t)
 		{
-			dedtypes.data[i] = cast(void*)ta;
+			dedtypes[i] = ta;
 			t = ta;
 		}
 
@@ -213,7 +213,7 @@
 		return MATCHnomatch;
 	}
 	
-    override void* dummyArg()
+    override Object dummyArg()
 	{
 		Type t;
 
@@ -224,6 +224,6 @@
 			// Use this for alias-parameter's too (?)
 			t = new TypeIdentifier(loc, ident);
 		}
-		return cast(void *)t;
+		return t;
 	}
 }