comparison dmd/TypeInstance.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
23 import dmd.ArrayTypes; 23 import dmd.ArrayTypes;
24 import dmd.TOK; 24 import dmd.TOK;
25 import dmd.TY; 25 import dmd.TY;
26 import dmd.Util : printf; 26 import dmd.Util : printf;
27 27
28 import dmd.DDMDExtensions;
29
28 /* Similar to TypeIdentifier, but with a TemplateInstance as the root 30 /* Similar to TypeIdentifier, but with a TemplateInstance as the root
29 */ 31 */
30 class TypeInstance : TypeQualified 32 class TypeInstance : TypeQualified
31 { 33 {
34 mixin insertMemberExtension!(typeof(this));
35
32 TemplateInstance tempinst; 36 TemplateInstance tempinst;
33 37
34 this(Loc loc, TemplateInstance tempinst) 38 this(Loc loc, TemplateInstance tempinst)
35 { 39 {
36 register(); 40 register();