HF RL Explorer

go-enum generator produces invalid Go code when enum starts with an explicit value

go-enum generator produces invalid Go code when enum starts with an explicit value: a task in LegoFlow-SWE (Harbor dataset). When using the ENUM comment directive on a type, if the first enum entry has an explicit value assignment (e.g., Apartment = 1 ), the generated Go code is malformed and…

The task

When using the `ENUM` comment directive on a type, if the first enum entry has an explicit value assignment (e.g., `Apartment = 1`), the generated Go code is malformed and causes a compilation error.

Part of Lego-X/LegoFlow-SWE.