mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 02:43:14 +01:00
Static ctors/dtors now work according to spec. Changed class vtable types slightly in some cases. Overridden functions now always take the the type of the first class declaring the method as this parameter. This helps when using headers (w. implementation somewhere else)
13 lines
235 B
D
13 lines
235 B
D
module moduleinfo2;
|
|
import std.stdio;
|
|
void main()
|
|
{
|
|
ModuleInfo[] mi = ModuleInfo.modules();
|
|
writefln("listing ",mi.length," modules");
|
|
foreach(m; mi)
|
|
{
|
|
writefln(" ",m.name);
|
|
}
|
|
assert(mi.length > 50);
|
|
}
|