diff dmd/TypeFunction.d @ 126:1765f3ef917d

ClassDeclarations, Arguments -> Vector
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Fri, 03 Sep 2010 23:25:55 +0100
parents 9e39c7de8438
children 010eb8f0e18d
line wrap: on
line diff
--- a/dmd/TypeFunction.d	Fri Sep 03 22:17:54 2010 +0100
+++ b/dmd/TypeFunction.d	Fri Sep 03 23:25:55 2010 +0100
@@ -505,9 +505,8 @@
 	{
 		if (parameters)
 		{
-			for (size_t i = 0; i < parameters.dim; i++)
+			foreach (arg; parameters)
 			{   
-				Argument arg = cast(Argument)parameters.data[i];
 				Type t = arg.type.reliesOnTident();
 				if (t)
 					return t;