[Issue 1220] New: circular dependency message for static this is	missing file/line info
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon May  7 09:21:10 PDT 2007
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=1220
           Summary: circular dependency message for static this is missing
                    file/line info
           Product: D
           Version: 1.014
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: torhu at yahoo.com
a.d:
---
import b;
static this() { }
---
b.d:
---
import a;
static this() { }
void main() { }
---
c:\test\dmd b a
b.exe
Error: circular initialization dependency with module b
Would have been useful to have module 'a' mentioned in that message.
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list