digitalmars.D.bugs - [Issue 5053] New: Better error message for cyclic dependencies.
- d-bugmail puremagic.com (23/23) Oct 14 2010 http://d.puremagic.com/issues/show_bug.cgi?id=5053
- d-bugmail puremagic.com (7/7) Oct 14 2010 http://d.puremagic.com/issues/show_bug.cgi?id=5053
- d-bugmail puremagic.com (13/13) Nov 08 2010 http://d.puremagic.com/issues/show_bug.cgi?id=5053
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 invisibleduck.org ReportedBy: doob me.com 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: -------
Oct 14 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5053 Created an attachment (id=784) Patch for giving better cyclic dependency error messages -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 14 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5053 Steven Schveighoffer <schveiguy yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |schveiguy yahoo.com Resolution| |FIXED 06:36:51 PST --- This bug is obsolete in light of the fixes I just checked in. See bug 4384. The runtime will now print the full cycle when a cyclic dependency is detected. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 08 2010