Re: Re-named & Selective Imports

2015-09-16 Thread Kagamin via Digitalmars-d-learn
Well, arguably disjunctive combination doesn't make much sense here, because renamed import disambiguates it all enough, but makes it impossible to merge arbitrary namespaces ad hoc, a feature I missed several times.

Re-named & Selective Imports

2015-09-15 Thread jmh530 via Digitalmars-d-learn
I combined a re-named import with a selective import and was surprised to find that it didn't do what I would have expected. In the code below, I would have expected only the "test2" line to have compiled, but it turned out that all three of these do. I'm guessing the logic is that it imports