Bug 437 – dmd loops while compiling this code

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-10-17T03:15:00Z
Last change time
2014-02-15T13:21:48Z
Assigned to
bugzilla
Creator
davidl

Comments

Comment #0 by davidl — 2006-10-17T03:15:16Z
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
Comment #1 by bugzilla — 2006-11-21T23:03:46Z
Please produce a self-contained example.
Comment #2 by clugdbug — 2008-11-28T07:04:16Z
This bug report doesn't contain enough reproduce, and it's two years old.