[Issue 2649] New: Inconsistent naming in TypeInfo derived classes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 7 09:04:01 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2649

           Summary: Inconsistent naming in TypeInfo derived classes
           Product: D
           Version: 1.036
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P4
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: dhasenan at gmail.com


Most members of TypeInfo and derived classes are named simply, eg "next",
"value", "name". There are exceptions:
- TypeInfo_Typedef.m_init
- TypeInfo_Pointer.m_next
- TypeInfo_Struct.m_init
- TypeInfo_Struct.m_flags

Also, TypeInfo_Pointer has its value type as "m_next", whereas TypeInfo_Array
has its value type as "value".

These are needless inconsistencies. I'd like to see them done away with.


-- 



More information about the Digitalmars-d-bugs mailing list