We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fdee757 + 08016e0 commit 447d044Copy full SHA for 447d044
src/main/scala/scalatutorial/sections/LexicalScopes.scala
@@ -80,9 +80,10 @@ object LexicalScopes extends ScalaTutorialSection {
80
* = Lexical Scoping =
81
*
82
* Definitions of outer blocks are visible inside a block unless they are shadowed.
83
+ * Shadowed defintions are ones which are redfined in a lower scope.
84
85
* Therefore, we can simplify `sqrt` by eliminating redundant occurrences of the `x` parameter, which means
- * everywhere the same thing:
86
+ * the same thing everywhere:
87
88
* = The `sqrt` Function, Take 3 =
89
0 commit comments