Thread overview
[Issue 437] New: dmd loops while compiling this code
Oct 17, 2006
d-bugmail
Nov 22, 2006
d-bugmail
Nov 28, 2008
d-bugmail
October 17, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=437

           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@digitalmars.com
        ReportedBy: davidl@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")();
    testFn;
}

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


-- 

November 22, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=437





------- Comment #1 from bugzilla@digitalmars.com  2006-11-21 23:03 -------
Please produce a self-contained example.


-- 

November 28, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=437


clugdbug@yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #2 from clugdbug@yahoo.com.au  2008-11-28 07:04 -------
This bug report doesn't contain enough reproduce, and it's two years old.


--