Bug 8358 – TypeInfo_Const next implementation is wrong

Status
RESOLVED
Resolution
INVALID
Severity
critical
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-07-08T00:40:00Z
Last change time
2015-06-09T05:11:50Z
Assigned to
nobody
Creator
code

Comments

Comment #0 by code — 2012-07-08T00:40:55Z
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; }
Comment #1 by code — 2013-03-26T00:31:53Z
next() is working as intended. But another method is needed to get the unqualified Type Info Object.