We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f598e2 commit f5cd251Copy full SHA for f5cd251
src/statements.md
@@ -62,7 +62,8 @@ annotation and then optionally by an initializer expression. When no
62
type annotation is given, the compiler will infer the type, or signal
63
an error if insufficient type information is available for definite
64
inference. Any variables introduced by a variable declaration are visible
65
-from the point of declaration until the end of the enclosing block scope.
+from the point of declaration until the end of the enclosing block scope,
66
+except when they are shadowed by another variable declaration.
67
68
## Expression statements
69
0 commit comments