imports other than at the top

Bill Baxter dnewsgroup at billbaxter.com
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.
> 
> http://d.puremagic.com/issues/show_bug.cgi?id=458
> 
> Thomas

That was fast!
Thanks, Thomas.

--bb



More information about the Digitalmars-d-learn mailing list