[Issue 5053] New: Better error message for cyclic dependencies.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 14 08:00:10 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=5053

           Summary: Better error message for cyclic dependencies.
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: sean at invisibleduck.org
        ReportedBy: doob at me.com


--- Comment #0 from Jacob Carlborg <doob at me.com> 2010-10-14 07:59:35 PDT ---
I created a patch which gives a better error message when a cyclic dependency
occurs between two modules due to both having module constructors and importing
each other.

When two modules "A" and "B" importing each other and having module
constructors the error message with the patch will look like this: "Cyclic
dependency in module B for import A" instead of "Cyclic dependency in module
A".

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list