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

checker: check array and fields mutability

This commit is contained in:
Enzo Baldisserri
2020-04-27 22:53:26 +02:00
committed by GitHub
parent ce1215f507
commit 682838a0cf
52 changed files with 340 additions and 86 deletions

View File

@@ -435,7 +435,7 @@ pub fn (fs FlagParser) usage() string {
if fs.flags.len > 0 {
use += 'Options:\n'
for f in fs.flags {
mut onames:=[]string
mut onames := []string{}
if f.abbr != 0 {
onames << '-${f.abbr.str()}'
}