Bug: go-enum generator produces invalid Go identifiers from enum values containing hyphens, leading numbers…
Bug: go-enum generator produces invalid Go identifiers from enum values containing hyphens, leading numbers…: a task in LegoFlow-SWE (Harbor dataset). Describe the bug When an enum definition includes a value that is not a valid Go identifier (e.g., contains hyphens, starts with a digit, or starts…
The task
**Describe the bug** When an enum definition includes a value that is not a valid Go identifier (e.g., contains hyphens, starts with a digit, or starts with a hyphen), the generated constants, variable names, or string map entries become invalid, causing the generated file to fail compilation.
Part of Lego-X/LegoFlow-SWE.