Bug 4116 – object.di does not match object_.d

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
Other
OS
All
Creation time
2010-04-24T07:29:00Z
Last change time
2014-02-15T02:46:28Z
Assigned to
sean
Creator
robert
Blocks
2484

Comments

Comment #0 by robert — 2010-04-24T07:29:03Z
The ModuleInfo struct in the user visible object.di does not match the implementation in object_.d, which disables some functionality eg the ability to find the classes in a module from user code. The two files need synchronizing to make sure everything that needs to be accessible is. http://dsource.org/projects/druntime/browser/trunk/src/object_.d#L1267 http://dsource.org/projects/druntime/browser/trunk/import/object.di#L226 Note the absence of the localClasses property in object.di, among other missing properties.
Comment #1 by clugdbug — 2010-05-18T12:19:21Z
Fixed DMD1.061 and DMD2.046.