import except one?

Puming via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 26 22:20:18 PDT 2014


On Thursday, 26 June 2014 at 16:02:15 UTC, sigod wrote:
> Dirty solution:
>
> ```
> import scriptlike;
> import your_module;
> import your_module : Config;
> ```
>
> So, `Config` from your module will override one from scriptlike.

I'm currenly renaming my own symbol:

```d
import scriptlike;
import config : Cfg = Config;
```

Your solution works for me  :-)

Thanks


More information about the Digitalmars-d-learn mailing list