digitalmars.D.bugs - [Issue 3380] New: [tdpl] typeid(obj) should return the dynamic type of the object
- d-bugmail puremagic.com (26/26) Oct 08 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3380
- d-bugmail puremagic.com (11/11) Oct 21 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3380
- d-bugmail puremagic.com (11/11) Nov 20 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3380
- d-bugmail puremagic.com (9/12) Nov 20 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3380
- d-bugmail puremagic.com (11/11) Dec 06 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3380
http://d.puremagic.com/issues/show_bug.cgi?id=3380 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 AssignedTo: nobody puremagic.com ReportedBy: andrei metalanguage.com 19:31:52 PDT --- class A {} class B : A {} void main() { auto a = new A; writeln(typeid(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: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 08 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3380 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clugdbug yahoo.com.au Bug 3346 seems to be the same as this one. When fixed, bug 3345 can probably be closed as well. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 21 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3380 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla digitalmars.com 17:57:12 PST --- I think you meant: auto a = new B; -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 20 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3380 19:34:52 PST ---I think you meant: auto a = new B;Sorry. I actually meant: A a = new B; meaning that the static type is different from the dynamic type. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 20 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3380 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED 00:51:52 PST --- Fixed dmd 2.037 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 06 2009