[Issue 437] New: dmd loops while compiling this code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 17 01:15:17 PDT 2006


           Summary: dmd loops while compiling this code
           Product: D
           Version: 0.169
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: davidl at 126.com

module reflect;
import ddl.DefaultRegistry;
export void test()

void main()
    auto registry = new DefaultRegistry();
    auto inSitu = registry.load("reflect.map");
    auto testFn = inSitu.getDExport!(void function(),"reflect.test")();

I compile it with :
dmd reflect.d
dmd loops there

build reflect.d
can point out the error testFn();
but even modified correctly compiling that file still would loop there.
build can generate exe file correctlty
I guess that's kind of problem about template and import


More information about the Digitalmars-d-bugs mailing list