Index: src/Validate/ImplementEnumFunc.cpp
===================================================================
--- src/Validate/ImplementEnumFunc.cpp	(revision 5f210c08ab78098d82c19b6a8bfa3d0be728f733)
+++ src/Validate/ImplementEnumFunc.cpp	(revision 830edc615fda3f16d44327cfaf8827106141df2d)
@@ -148,6 +148,7 @@
 	} else {
 		auto untypedThisInit = new ast::UntypedExpr(
-			getLocation(), new ast::NameExpr(getLocation(), "?++"),
-			{prevInitExpr});
+			getLocation(), new ast::NameExpr(getLocation(), "?+?"),
+			{	prevInitExpr,
+				new ast::ConstantExpr( getLocation(), new ast::OneType, "1", 1) });
 		return new ast::SingleInit(getLocation(), untypedThisInit);
 	}
