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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Benjamin Thaut <[email protected]> 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: -------