diff dmd/TypeInfoInterfaceDeclaration.d @ 131:206db751bd4c

dmdfe 2.037 compiles now
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Fri, 10 Sep 2010 00:27:37 +0100
parents 60bb0fe4563e
children af724d3510d7
line wrap: on
line diff
--- a/dmd/TypeInfoInterfaceDeclaration.d	Thu Sep 09 22:51:44 2010 +0100
+++ b/dmd/TypeInfoInterfaceDeclaration.d	Fri Sep 10 00:27:37 2010 +0100
@@ -6,6 +6,7 @@
 import dmd.ClassInfoDeclaration;
 import dmd.TypeClass;
 import dmd.TY;
+import dmd.TypeInfoClassDeclaration;
 
 import dmd.backend.dt_t;
 import dmd.backend.Symbol;
@@ -32,7 +33,7 @@
 		Symbol *s;
 
 		if (!tc.sym.vclassinfo)
-			tc.sym.vclassinfo = new TypeInfoClassDeclaration(tc.sym);
+			tc.sym.vclassinfo = new TypeInfoClassDeclaration(tc);
 		s = tc.sym.vclassinfo.toSymbol();
 		dtxoff(pdt, s, 0, TYnptr);		// ClassInfo for tinfo
 	}