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:
@@ -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 | }
|
||||
Reference in New Issue
Block a user