aboutsummaryrefslogtreecommitdiff
path: root/doc/langref.html.in
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-10-06 17:05:34 +0300
committerVeikka Tuominen <git@vexu.eu>2022-10-07 11:04:02 +0300
commit29ae6515f3adc23df3d889acaf7ec62a2d01b707 (patch)
treef774b68521f6aca221628201408e47b2b24f481a /doc/langref.html.in
parent11dce78944ecfab1838cd678f75c354aa376a8bf (diff)
downloadzig-29ae6515f3adc23df3d889acaf7ec62a2d01b707.tar.gz
zig-29ae6515f3adc23df3d889acaf7ec62a2d01b707.zip
AstGen: use 'shadows' instead of 'redeclaration' when names are in different scopes
Closes #8532
Diffstat (limited to 'doc/langref.html.in')
-rw-r--r--doc/langref.html.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in
index 7cc26d662a..0315dc10e1 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -4064,7 +4064,7 @@ test "labeled break from labeled block expression" {
{#header_open|Shadowing#}
<p>{#link|Identifiers#} are never allowed to "hide" other identifiers by using the same name:</p>
- {#code_begin|test_err|local shadows declaration#}
+ {#code_begin|test_err|local variable shadows declaration#}
const pi = 3.14;
test "inside test block" {