mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
make sqlite.DB public; make string.left/right private
This commit is contained in:
@ -669,7 +669,7 @@ fn (p mut Parser) check_unused_and_mut_vars() {
|
||||
p.production_error_with_token_index('`$var.name` declared and not used', var.token_idx)
|
||||
}
|
||||
if !var.is_changed && var.is_mut && !p.pref.is_repl && !p.pref.translated && var.typ != 'T*' && p.mod != 'ui' && var.typ != 'App*' {
|
||||
//p.warn_or_error('`$var.name` is declared as mutable, but it was never changed')
|
||||
p.warn_or_error('`$var.name` is declared as mutable, but it was never changed')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user