diff dmd/Type.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 190ba98276b3
children 52188e7e3fb5
line wrap: on
line diff
--- a/dmd/Type.d	Tue Jun 07 21:01:03 2011 -0400
+++ b/dmd/Type.d	Tue Jun 07 23:37:34 2011 -0400
@@ -75,6 +75,8 @@
 
 import core.memory;
 
+import dmd.DDMDExtensions;
+
 /* These have default values for 32 bit code, they get
  * adjusted for 64 bit code.
  */
@@ -229,6 +231,8 @@
 
 class Type : TObject
 {
+	mixin insertMemberExtension!(typeof(this));
+	
     TY ty;
     MOD mod;	// modifiers MODxxxx
 	/* pick this order of numbers so switch statements work better