With or without the -cov option, this compiles. However, the version with –cov fails at _runtime_ with a circular reference error of some type.
<code file=a.d>
import b;
void main(){}
</code>
<code file=b.d>
import a;
</code>
thoughts:
--This should be detected at compile/link time (or maybe that’s no possible).
--There should be some way to control initialization loops. (how?)
tested on linux, assumed on others
originally reported back in Jan '06
http://www.digitalmars.com/d/archives/digitalmars/D/bugs/6059.html