diff dmd/ClassDeclaration.d @ 189:a4c9de8e39b3

Now compileable with dmd2.053
author Abscissa
date Wed, 08 Jun 2011 02:21:32 -0400
parents b0d41ff5e0df
children
line wrap: on
line diff
--- a/dmd/ClassDeclaration.d	Tue Jun 07 23:51:08 2011 -0400
+++ b/dmd/ClassDeclaration.d	Wed Jun 08 02:21:32 2011 -0400
@@ -397,7 +397,7 @@
 			if (tb.ty == TY.Ttuple)
 			{
 				TypeTuple tup = cast(TypeTuple)tb;
-				enum PROT protection = b.protection;
+				PROT protection = b.protection;
 				baseclasses.remove(i);
 				size_t dim = Parameter.dim(tup.arguments);
 				for (size_t j = 0; j < dim; j++)