On Tue, Jun 26, 2012 at 07:27:00PM +0200, Mehrdad wrote: > I realize this scenario might look stupid, but I hope the underlying > problem isn't. > > Does D define what happens in a situation like this? > > > module a; > import b; > static if (!is(typeof(.b.foo))) int foo = 1; > > > module b; > import a; > static if (!is(typeof(.a.foo))) int foo = 2;
IIRC, according to TDPL, this is a compile-time error. T -- If you think you are too small to make a difference, try sleeping in a closed room with a mosquito. -- Jan van Steenbergen
