digitalmars.D.bugs - error message
- Carlos Santander B. (21/21) Nov 13 2004 Given this two files (which I know they're wrong):
Given this two files (which I know they're wrong):
---------------- a.d
import b;
static this ()
{
printf("a\n");
}
void main ()
{
}
---------------- b.d
import a;
static this ()
{
printf("b\n");
}
Walter, would it be possible to have the error include both offending modules?
And even more, to detect it at compile time?
"Error: circular initialization dependency with module a"
-----------------------
Carlos Santander Bernal
Nov 13 2004








"Carlos Santander B." <carlos8294 msn.com>