www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4817] New: CodeView: Enum members should have simple names

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4817

           Summary: CodeView: Enum members should have simple names
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P3
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: aldonunez1 gmail.com



---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 05 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4817




---
Created an attachment (id=954)
Use toChars instead of toPrettyChars.

We can fix this by using toChars instead of toPrettyChars when writing
LF_ENUMERATE records in cv4_Denum.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 28 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4817


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED



11:28:20 PDT ---
https://github.com/D-Programming-Language/dmd/commit/a98c332a2ea6ad9b4b29926d8af4258e9e8b60c5

https://github.com/D-Programming-Language/dmd/commit/08c5424d5911f7161477786cfc41bb3e93097a16

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 28 2011