diff dmd/AggregateDeclaration.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
line wrap: on
line diff
--- a/dmd/AggregateDeclaration.d	Tue Jun 07 21:01:03 2011 -0400
+++ b/dmd/AggregateDeclaration.d	Tue Jun 07 23:37:34 2011 -0400
@@ -51,6 +51,8 @@
 import dmd.backend.SFL;
 import dmd.codegen.Util;
 
+import dmd.DDMDExtensions;
+
 /****************************************
  * Determine if scope sc has package level access to s.
  */
@@ -141,6 +143,8 @@
 
 class AggregateDeclaration : ScopeDsymbol
 {
+	mixin insertMemberExtension!(typeof(this));
+
     Type type;
     StorageClass storage_class;
     PROT protection = PROT.PROTpublic;