diff dmd/Import.d @ 169:e7769d53e750

Moves static variables from Module to Global
author korDen
date Thu, 30 Sep 2010 13:29:54 +0400
parents e6e542f37b94
children af724d3510d7
line wrap: on
line diff
--- a/dmd/Import.d	Thu Sep 30 12:57:13 2010 +0400
+++ b/dmd/Import.d	Thu Sep 30 13:29:54 2010 +0400
@@ -130,7 +130,7 @@
 			dst.insert(id, mod);		// id may be different from mod.ident,
 							// if so then insert alias
 			if (!mod.importedFrom)
-				mod.importedFrom = sc ? sc.module_.importedFrom : Module.rootModule;
+				mod.importedFrom = sc ? sc.module_.importedFrom : global.rootModule;
 		}
 
 		if (!pkg)