May 07, 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@digitalmars.com
        ReportedBy: torhu@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.


-- 

May 07, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1220


smjg@iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg@iname.com
           Keywords|                            |diagnostic




------- Comment #1 from smjg@iname.com  2007-05-07 15:15 -------
But it ought to be allowed if there isn't a circular dependency between each constructor and the other module....


--