In the CodeView info for a program, members of enums have their names stored fully qualified, even though the enum members themselves are stored in the scope of their enum type, whose name is already fully qualified.
Instead of storing:
LF_ENUM "mod.E"
- LF_ENUMERATE "mod.E.Alpha"
- LF_ENUMERATE "mod.E.Beta"
This should be stored:
LF_ENUM "mod.E"
- LF_ENUMERATE "Alpha"
- LF_ENUMERATE "Beta"
This is helpful for debugging.
Comment #1 by aldonunez1 — 2011-04-28T01:18:42Z
Created attachment 954
Use toChars instead of toPrettyChars.
We can fix this by using toChars instead of toPrettyChars when writing LF_ENUMERATE records in cv4_Denum.