[Issue 1609] New: TypeInfo_Typedef has incorrect implementation of next()
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 23 16:29:15 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1609
Summary: TypeInfo_Typedef has incorrect implementation of next()
Product: D
Version: 1.022
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: bugzilla at digitalmars.com
ReportedBy: tomas at famolsen.dk
This assertion fails:
assert(typeid(int_t).next is typeid(int));
It should be defined as:
TypeInfo next() { return base; }
Not:
TypeInfo next() { return base.next(); }
.. as it is now.
--
More information about the Digitalmars-d-bugs
mailing list