-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First off, it now aborts immediately if the package is not loaded, and doesn't call the package's `AvailabilityTest` function (fixes #2862). This was achieved by not using `TestPackageAvailability` anymore, but rather `IsPackageMarkedForLoading`. The main difference to the latter now is this: We now record whether a package fully completed loading (in particular, we record whether its `init.g` and `read.g` executed without an error). This information is then used by `IsPackageLoaded` after `IsPackageMarkedForLoading` returned `true`, to determine the final result.
- Loading branch information
Showing
4 changed files
with
112 additions
and
17 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
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