comparison dmd/TypeClass.d @ 166:d8565fbd755c

Moved object and classinfo from ClassDeclaration to Global (as part of getting rid of the global state)
author korDen
date Thu, 30 Sep 2010 10:30:15 +0400
parents af1bebfd96a4
children fa9a71a9f5a8
comparison
equal deleted inserted replaced
165:25ede4f66bda 166:d8565fbd755c
190 } 190 }
191 } 191 }
192 192
193 if (ident is Id.classinfo_) 193 if (ident is Id.classinfo_)
194 { 194 {
195 assert(ClassDeclaration.classinfo); 195 assert(global.classinfo);
196 Type t = ClassDeclaration.classinfo.type; 196 Type t = global.classinfo.type;
197 if (e.op == TOK.TOKtype || e.op == TOK.TOKdottype) 197 if (e.op == TOK.TOKtype || e.op == TOK.TOKdottype)
198 { 198 {
199 /* For type.classinfo, we know the classinfo 199 /* For type.classinfo, we know the classinfo
200 * at compile time. 200 * at compile time.
201 */ 201 */