Skip to content

Commit

Permalink
Add variable shadowing link to wikipedia (#36930)
Browse files Browse the repository at this point in the history
  • Loading branch information
josePereiro committed Aug 6, 2020
1 parent 48602c5 commit 065efdd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/src/manual/variables-and-scoping.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 065efdd

Please sign in to comment.