Bug 2633 – incorrect ModuleInfo declaration in object.di
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2009-01-29T11:24:00Z
Last change time
2015-06-09T01:21:00Z
Assigned to
sean
Creator
tomas
Comments
Comment #0 by tomas — 2009-01-29T11:24:39Z
import std.stdio;
class M : ModuleInfo
{
}
void main()
{
writefln(M.classinfo.init.length);
writefln(ModuleInfo.classinfo.init.length);
}
running this test case should print two identical numbers, but it doesn't ...