-
Notifications
You must be signed in to change notification settings - Fork 69
Enums generate cumbersome names #1624
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingheader-generatorThis label is for issues that specifically affect the header generator sub process of the compiler.This label is for issues that specifically affect the header generator sub process of the compiler.low-priority
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingheader-generatorThis label is for issues that specifically affect the header generator sub process of the compiler.This label is for issues that specifically affect the header generator sub process of the compiler.low-priority
Describe the bug
Enums generate cumbersome names as they append their type to the definition which we already do by convention when working with PLC.
To Reproduce
Example in PLC:
Becomes:
Expected behavior
If the enum has already been fully qualified by the definition, I would expect it to not be qualified again by the header generator.
Additional context
Originally reported by Guillaume.