== Quote from bearophile (bearophileh...@lycos.com)'s article > This produces the same errors: > struct Foo { > int bar; > static Foo baz() { > return Foo(); > } > const Foo one = Foo.baz(); > } > void main() {} > Bye, > bearophile
And this is why in my program compiled anyways : ---- module main; import s_def; void main(){} ---- module s_def; import e_def; // <---this struct S { float area; static S opCall( float a_ ) { S s = { a_ }; return s; } const S _s = S( 1f ); } ---- module e_def; import s_def; const S e = S(1f); ---- I have import problems quite regularly, but I always fail at tinifying them :)