diff options
| author | Veikka Tuominen <git@vexu.eu> | 2022-10-06 17:05:34 +0300 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-10-07 11:04:02 +0300 |
| commit | 29ae6515f3adc23df3d889acaf7ec62a2d01b707 (patch) | |
| tree | f774b68521f6aca221628201408e47b2b24f481a /doc/langref.html.in | |
| parent | 11dce78944ecfab1838cd678f75c354aa376a8bf (diff) | |
| download | zig-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.in | 2 |
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" { |
