imports other than at the top

Bill Baxter dnewsgroup at
Wed Oct 25 18:05:26 PDT 2006

Thomas Kuehne wrote:

>>> I've noticed that imports can be placed in a version { } block, and I'd 
>>> assume inside a debug { } too.. But inside of unittest { } there's 
>>> actual code being executed, so it's probably a different kind of scope.
>> Ok,  well that's good at least.  I wonder if there is (or could be) a 
>> version(unittest) automatically set when -unittest is used.
> Thomas

That was fast!
Thanks, Thomas.


More information about the Digitalmars-d-learn mailing list