Index: src/Validate/ImplementEnumFunc.cpp
===================================================================
--- src/Validate/ImplementEnumFunc.cpp	(revision 76c7addbc462acd66ab7716bbf8d9e3c2b48bdd7)
+++ src/Validate/ImplementEnumFunc.cpp	(revision 748c7516ae55669d37dd519860c23a7cc8c8632b)
@@ -296,6 +296,5 @@
         {new ast::ObjectDecl(getLocation(), "_i", new ast::EnumInstType(decl))},
         {new ast::ObjectDecl(getLocation(), "_ret",
-                             new ast::EnumAttrType(new ast::EnumInstType(decl),
-                                                   ast::EnumAttribute::Posn))});
+            new ast::BasicType(ast::BasicType::UnsignedInt))});
 }
 
