[Issue 2671] Circular imports and static constructors in templates

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 13 15:50:44 PDT 2009


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


Justin <mrjnewt at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrjnewt at gmail.com
            Summary|Circular imports and static |Circular imports and static
                   |constructors in templates   |constructors in templates




--- Comment #1 from Justin <mrjnewt at gmail.com>  2009-07-13 15:50:43 PDT ---
I can confirm this as I ran across it while working on a large project. In my
case, I use a template mixin to add a static constructor with some special
behavior to various classes sprinkled around various modules. The project
builds but gives me an error when I try running:
----------------
Error: circular initialization dependency with module epic.window
----------------

This is a pretty major hitch in my project, so I'd love to see this fixed or at
least a workaround.

-- 
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