Jacob Carlborg wrote:
I've always wonder why that is. I mean if I put an empty static constructor in two modules and they import each other I get a circular reference error. Usually when I use static constructors they don't depend on the order of each other. Can't this be fixed if the static constructors don't depend on each other?


I don't know if there's a reasonable way of determining if they depend on each other, so dmd assumes they do.

Reply via email to