On Wed, Jul 31, 2019 at 08:09:29PM +0000, Andrey Zherikov via 
Digitalmars-d-learn wrote:
> I found a function that seems could be used for adding import paths:
> dmd.frontend.addImport
> (https://dlang.org/phobos/dmd_frontend.html#.addImport). But it's not clear
> how can I use it: dmd directory is not added to lookup by default and trying
> adding it gives errors:
[...]

That's because you can only call that function from inside dmd code.
It's not available for user code to call.


T

-- 
Those who don't understand Unix are condemned to reinvent it, poorly.

Reply via email to