-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import all dependencies via Pkg_$pkgid (#4696)
Previously, we mapped `dependencies` under Pkg_$pkgId.originalmodule name and imported them this way. However, we did not map `dependencies` the same way. This PR unifies the two and cleans up the import handling logic a bit. This also fixes imports if we have two packages with the same name but a different version since the package name (which is the only thing usable in package-qualified imports) is not sufficient to disambiguate. I’ve added a test for this. changelog_begin changelog_end
- Loading branch information
1 parent
d58bb45
commit c9b9293
Showing
3 changed files
with
163 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters