Index: src/AST/Print.cpp
===================================================================
--- src/AST/Print.cpp	(revision 71b5aad58696e7080180f82a1dd2c772721ae91d)
+++ src/AST/Print.cpp	(revision 16afb2a5a8827bbc0bd62b1f576b21ab9e335880)
@@ -175,4 +175,13 @@
 		}
 
+		auto ptrToEnum = dynamic_cast<const ast::EnumDecl *>(node);
+		if ( ! short_mode && ptrToEnum && ptrToEnum->base ) {
+			os << endl << indent << "... with base type" << endl;
+			++indent;
+			os << indent;
+			ptrToEnum->base->accept( *this );
+			--indent;
+		}
+
 		os << " " << (node->body ? "with" : "without") << " body";
 
@@ -198,11 +207,5 @@
 		}
 
-		auto ptrToEnum = dynamic_cast<const ast::EnumDecl *>(node);
-		if ( ! short_mode && ptrToEnum && ptrToEnum->base ) {
-			os << endl << indent << ".. with (enum) base" << endl;
-			++indent;
-			ptrToEnum->base->accept( *this );
-			--indent;
-		}
+
 
 		os << endl;
