1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

doc: document the new const rule

This commit is contained in:
Alexander Medvednikov
2021-01-24 10:23:52 +01:00
parent 80e6b090ea
commit 12ff1c2702
2 changed files with 11 additions and 11 deletions

View File

@@ -1,7 +0,0 @@
vlib/v/checker/tests/var_duplicate_const.vv:8:2: error: duplicate of a const name `age`
6 |
7 | fn main() {
8 | age := 30
| ~~~
9 | println(age)
10 | }