Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

dmd.dimport

A Dsymbol representing a renamed import.
Authors:

Source dimport.d

class Import: dmd.dsymbol.Dsymbol;
bool load(Scope* sc);
Load this module.
Returns:
true for errors, false for success
void addPackageAccess(ScopeDsymbol scopesym);
Mark the imported packages as accessible from the current scope. This access check is necessary when using FQN b/c we're using a single global package tree. https://issues.dlang.org/show_bug.cgi?id=313