digitalmars.D.bugs - ModuleInfo bug
- Tom S (19/19) Jan 29 2006 The following assertion fails on my WinXP box with DMD.144:
The following assertion fails on my WinXP box with DMD.144:
import std.moduleinit;
void main() {
foreach (ModuleInfo mi; _moduleinfo_array) {
foreach (ClassInfo lci; mi.localClasses) {
assert (lci !is null);
}
}
}
It also fails if there are some classes defined in the module.
By the way, would it be possible to add a property like 'moduleof' of
type ModuleInfo to ClassInfo ? It would be really useful :)
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d-pu s+: a-->----- C+++$>++++ UL P+ L+ E--- W++ N++ o? K? w++ !O
!M V? PS- PE- Y PGP t 5 X? R tv-- b DI- D+ G e>+++ h>++ !r !y
------END GEEK CODE BLOCK------
Tomasz Stachowiak /+ a.k.a. h3r3tic +/
Jan 29 2006








Tom S <h3r3tic remove.mat.uni.torun.pl>