digitalmars.D.bugs - [Issue 8358] New: TypeInfo_Const next implementation is wrong
- d-bugmail puremagic.com (21/21) Jul 08 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8358
- d-bugmail puremagic.com (12/12) Mar 26 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8358
http://d.puremagic.com/issues/show_bug.cgi?id=8358 Summary: TypeInfo_Const next implementation is wrong Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Severity: critical Priority: P2 Component: druntime AssignedTo: nobody puremagic.com ReportedBy: code benjamin-thaut.de --- Comment #0 from Benjamin Thaut <code benjamin-thaut.de> 2012-07-08 00:40:55 PDT --- In TypeInfo_Const property override TypeInfo next() nothrow pure { return base.next; } This will cause type info const to return null or a wrong TypeInfo object because it jumps over the base type. It should be: property override TypeInfo next() nothrow pure { return base; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 08 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8358 Benjamin Thaut <code benjamin-thaut.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Benjamin Thaut <code benjamin-thaut.de> 2013-03-26 00:31:53 PDT --- next() is working as intended. But another method is needed to get the unqualified Type Info Object. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 26 2013