March 09, 2006 ERROR: circular initialization dependency with module | ||||
---|---|---|---|---|
| ||||
What does this run-time error message mean? |
March 09, 2006 Re: ERROR: circular initialization dependency with module | ||||
---|---|---|---|---|
| ||||
Posted in reply to Cris | On Fri, 10 Mar 2006 02:26:43 +1100, Cris <central_p@hotmail.com> wrote: > What does this run-time error message mean? It means that two or more modules import each other and at least one has a ctor or dtor. I quote the manual ... "Cycles (circular dependencies) in the import declarations are allowed as long as not both of the modules contain static constructors or static destructors. Violation of this rule will result in a runtime exception." -- Derek Parnell Melbourne, Australia |
Copyright © 1999-2021 by the D Language Foundation