comparison dmd/TypeClass.d @ 187:b0d41ff5e0df

Added expandability scheme outlined in http://www.dsource.org/forums/viewtopic.php?t=5659&sid=6f2150ff5b0bffcd47512a6a7608d218
author Abscissa
date Tue, 07 Jun 2011 23:37:34 -0400
parents e3afd1303184
children
comparison
equal deleted inserted replaced
186:1a0c1126bc46 187:b0d41ff5e0df
60 import dmd.backend.LIST; 60 import dmd.backend.LIST;
61 import dmd.backend.Classsym; 61 import dmd.backend.Classsym;
62 62
63 import std.string : toStringz; 63 import std.string : toStringz;
64 64
65 import dmd.DDMDExtensions;
66
65 class TypeClass : Type 67 class TypeClass : Type
66 { 68 {
69 mixin insertMemberExtension!(typeof(this));
70
67 ClassDeclaration sym; 71 ClassDeclaration sym;
68 72
69 this(ClassDeclaration sym) 73 this(ClassDeclaration sym)
70 { 74 {
71 register(); 75 register();