diff dmd/TypeInfoDeclaration.d @ 174:af724d3510d7

lot os toCBuffer methods implemented moved shared Type.* stuff into Global
author korDen
date Sun, 10 Oct 2010 03:47:23 +0400
parents e28b18c23469
children e3afd1303184
line wrap: on
line diff
--- a/dmd/TypeInfoDeclaration.d	Sun Oct 10 01:55:35 2010 +0400
+++ b/dmd/TypeInfoDeclaration.d	Sun Oct 10 03:47:23 2010 +0400
@@ -8,6 +8,7 @@
 import dmd.Scope;
 import dmd.Loc;
 import dmd.STC;
+import dmd.Global;
 import dmd.OutBuffer;
 import dmd.PROT;
 import dmd.LINK;
@@ -29,13 +30,13 @@
 
 	this(Type tinfo, int internal)
 	{
-		super(Loc(0), Type.typeinfo.type, tinfo.getTypeInfoIdent(internal), null);
+		super(Loc(0), global.typeinfo.type, tinfo.getTypeInfoIdent(internal), null);
 		this.tinfo = tinfo;
 		storage_class = STC.STCstatic | STC.STCgshared;
 		protection = PROT.PROTpublic;
 		linkage = LINK.LINKc;
 	}
-	
+
 version (DumbClone) {
 } else {
 	Type clone()