diff dmd/TypeInfoStructDeclaration.d @ 137:09c858522d55

merge
author Trass3r
date Mon, 13 Sep 2010 23:29:00 +0200
parents e8a741997ccf
children af724d3510d7
line wrap: on
line diff
--- a/dmd/TypeInfoStructDeclaration.d	Mon Sep 13 23:27:38 2010 +0200
+++ b/dmd/TypeInfoStructDeclaration.d	Mon Sep 13 23:29:00 2010 +0200
@@ -99,7 +99,7 @@
 		TypeFunction tfeqptr;
 		{	
 			// bool opEqual(const T*) const;
-			scope Scope sc = new Scope();
+			scope sc = new Scope();
 			auto arguments = new Parameters;
 		version (STRUCTTHISREF) {
 			// arg type is ref const T
@@ -116,7 +116,7 @@
         }
 
         {
-	        Scope sc;
+	        scope sc = new Scope;
 	        auto arguments = new Parameters;
 version(STRUCTTHISREF) {
 	        // arg type is ref const T