November 14, 2004 error message | ||||
---|---|---|---|---|
| ||||
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 |
Copyright © 1999-2021 by the D Language Foundation