Mercurial > projects > ddmd
comparison dmd/TypeInfoFunctionDeclaration.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 |
---|---|
9 | 9 |
10 import dmd.backend.dt_t; | 10 import dmd.backend.dt_t; |
11 import dmd.backend.Util; | 11 import dmd.backend.Util; |
12 import dmd.backend.TYM; | 12 import dmd.backend.TYM; |
13 | 13 |
14 import dmd.DDMDExtensions; | |
15 | |
14 class TypeInfoFunctionDeclaration : TypeInfoDeclaration | 16 class TypeInfoFunctionDeclaration : TypeInfoDeclaration |
15 { | 17 { |
18 mixin insertMemberExtension!(typeof(this)); | |
19 | |
16 this(Type tinfo) | 20 this(Type tinfo) |
17 { | 21 { |
18 register(); | 22 register(); |
19 super(tinfo, 0); | 23 super(tinfo, 0); |
20 type = global.typeinfofunction.type; | 24 type = global.typeinfofunction.type; |