http://d.puremagic.com/issues/show_bug.cgi?id=2484

           Summary: Templated classes have no moduleinfo
           Product: D
           Version: 2.019
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


import std.stdio;
class c() {}
void main() {
        auto a = new c!();
        auto t = Object.factory(a.classinfo.name);
}

Here, Object.factory return null, because c!() has no information in
ModuleInfo.


-- 

Reply via email to