From 065efdd61757fa72547151ccd423cb4c28cf8db4 Mon Sep 17 00:00:00 2001 From: Jose Antonio Pereiro Morejon <44244693+josePereiro@users.noreply.github.com> Date: Thu, 6 Aug 2020 00:35:05 -0400 Subject: [PATCH] Add variable shadowing link to wikipedia (#36930) --- doc/src/manual/variables-and-scoping.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/src/manual/variables-and-scoping.md b/doc/src/manual/variables-and-scoping.md index 4c013d8f067ce..95ce931d872bb 100644 --- a/doc/src/manual/variables-and-scoping.md +++ b/doc/src/manual/variables-and-scoping.md @@ -12,8 +12,9 @@ eligible to be the scope of some set of variables. The scope of a variable canno set of source lines; instead, it will always line up with one of these blocks. There are two main types of scopes in Julia, *global scope* and *local scope*. The latter can be nested. There is also a distinction in Julia between constructs which introduce a "hard scope" and those which only -introduce a "soft scope", which affects whether shadowing a global variable by the same name is -allowed or not. +introduce a "soft scope", which affects whether +[shadowing](https://en.wikipedia.org/wiki/Variable_shadowing) +a global variable by the same name is allowed or not. ### [Scope constructs](@id man-scope-table)