Summary: [tdpl] typeid(obj) should return the dynamic type of
                    the object
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Andrei Alexandrescu <> 2009-10-08 
19:31:52 PDT ---
class A {}
class B : A {}

void main() {
   auto a = new A;

Currently typeid only applies to a type and consequently returns static type
information. This bug report aims at merging classinfo into TypeInfo_class. We
need to therefore have typeid accept values.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to