Fix broken link (#799)

The Variables guide linked to `/modules.html`, but the page talking about modules is `/modularity.html`
This commit is contained in:
Chayim Refael Friedman
2020-11-26 08:49:52 +02:00
committed by GitHub
parent 94e4888b6a
commit 556eeac86e

View File

@ -31,7 +31,7 @@ System.print(a) //! "a" doesn't exist anymore.
</pre>
Variables defined at the top level of a script are *top-level* and are visible
to the [module](modules.html) system. All other variables are *local*.
to the [module](modularity.html) system. All other variables are *local*.
Declaring a variable in an inner scope with the same name as an outer one is
called *shadowing* and is not an error (although it's not something you likely
intend to do much).