diff dmd/StructInitializer.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 e6e542f37b94
children af1bebfd96a4
line wrap: on
line diff
--- a/dmd/StructInitializer.d	Sun Sep 05 15:32:22 2010 +0400
+++ b/dmd/StructInitializer.d	Thu Sep 09 22:51:44 2010 +0100
@@ -152,7 +152,7 @@
 		{	
 			/* Rewrite as empty delegate literal { }
 			 */
-			auto arguments = new Arguments;
+			auto arguments = new Parameters;
 			Type tf = new TypeFunction(arguments, null, 0, LINK.LINKd);
 			FuncLiteralDeclaration fd = new FuncLiteralDeclaration(loc, Loc(0), tf, TOK.TOKdelegate, null);
 			fd.fbody = new CompoundStatement(loc, new Statements());