Index: vala/valaclass.vala
===================================================================
--- vala/valaclass.vala	(revision 1325)
+++ vala/valaclass.vala	(working copy)
@@ -415,15 +415,15 @@
 		foreach (Class cl in classes) {
 			cl.accept (visitor);
 		}
+
+		foreach (Enum en in enums) {
+			en.accept (visitor);
+		}
 		
 		foreach (Struct st in structs) {
 			st.accept (visitor);
 		}
 
-		foreach (Enum en in enums) {
-			en.accept (visitor);
-		}
-
 		foreach (Delegate d in delegates) {
 			d.accept (visitor);
 		}
