From 1f34483699585adee9049ed6c731d339360739ad Mon Sep 17 00:00:00 2001 From: Siva Prasad Varma Date: Sun, 3 Jul 2016 15:59:51 -0700 Subject: [PATCH] Mention require's case-sensitivity in documenation (#17249) Mention require's case-sensitivity in documentation --- base/docs/helpdb/Base.jl | 4 +++- doc/stdlib/base.rst | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/base/docs/helpdb/Base.jl b/base/docs/helpdb/Base.jl index a821a03fbd5fc..1f89d95b136e6 100644 --- a/base/docs/helpdb/Base.jl +++ b/base/docs/helpdb/Base.jl @@ -1489,7 +1489,9 @@ This function is typically used to load library code, and is implicitly called b load packages. When searching for files, `require` first looks for package code under `Pkg.dir()`, then tries -paths in the global array `LOAD_PATH`. +paths in the global array `LOAD_PATH`. `require` is case-sensitive on all +platforms including those with case-insensitive filesystems like macOS and +Windows. """ require diff --git a/doc/stdlib/base.rst b/doc/stdlib/base.rst index 5b6f24913c90d..1650062c0e4d3 100644 --- a/doc/stdlib/base.rst +++ b/doc/stdlib/base.rst @@ -126,7 +126,7 @@ Getting Around Loads a source files, in the context of the ``Main`` module, on every active node, searching standard locations for files. ``require`` is considered a top-level operation, so it sets the current ``include`` path but does not use it to search for files (see help for ``include``\ ). This function is typically used to load library code, and is implicitly called by ``using`` to load packages. - When searching for files, ``require`` first looks for package code under ``Pkg.dir()``\ , then tries paths in the global array ``LOAD_PATH``\ . + When searching for files, ``require`` first looks for package code under ``Pkg.dir()``\ , then tries paths in the global array ``LOAD_PATH``\ .``require`` is case-sensitive on all platforms including those with case-insensitive filesystems like macOS and Windows. .. function:: Base.compilecache(module::String) @@ -1427,4 +1427,3 @@ Internals .. Docstring generated from Julia source Compile the given function ``f`` for the argument tuple (of types) ``args``\ , but do not execute it. -