-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This makes LOAD_PATH just a vector of strings again. Some special syntaxes in JULIA_LOAD_PATH are handled specially: - split on `:` or `;` (on Windows) - replace the first empty entry with DEFAULT_LOAD_PATH - ignore the remaining empty entries - replace `@` with `current_env()` Other special syntaxes are left alone and expanded during load path lookup: - occurrences of `#` in `@...` entries to version digits - `@name` is looked up in the depot path - `@` is replaced with `current_env()` The last functionality is not accessible via JULIA_LOAD_PATH in this version since `@` in that is expanded early. This does allow putting a literal `@` in LOAD_PATH to get late expansion to `current_env()` instead of early expansion. Fixes #27411
- Loading branch information
1 parent
b2eef2e
commit e1b0965
Showing
10 changed files
with
98 additions
and
142 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
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
Oops, something went wrong.