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 ...
Comment #1 by sean — 2009-01-30T19:40:56Z
Fixed in http://dsource.org/projects/druntime/changeset/85 Will close ticket on next DMD release.
Comment #2 by bugzilla — 2009-05-15T12:18:13Z
Fixed dmd 2.030