Index: src/Validate/GenericParameter.cpp
===================================================================
--- src/Validate/GenericParameter.cpp	(revision 0c327cee778443a440104253db33557cee4d2a92)
+++ src/Validate/GenericParameter.cpp	(revision 2e6b2a0cdf026678c7c51511aafdf3469882532f)
@@ -301,8 +301,8 @@
 const ast::Expr * TranslateDimensionCore::postvisit(
 		const ast::TypeExpr * expr ) {
-	if ( auto instType = dynamic_cast<const ast::EnumInstType *>( expr->type.get() ) ) {
-		const ast::EnumDecl * baseEnum = instType->base.get();
-		return ast::ConstantExpr::from_int( expr->location, baseEnum->members.size() );
-	}
+	// if ( auto instType = dynamic_cast<const ast::EnumInstType *>( expr->type.get() ) ) {
+	// 	const ast::EnumDecl * baseEnum = instType->base.get();
+	// 	return ast::ConstantExpr::from_int( expr->location, baseEnum->members.size() );
+	// }
 	return expr;
 }
