mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tutorials: vweb: add an article
This commit is contained in:
@ -633,7 +633,7 @@ fn (p mut Parser) check_unused_and_mut_vars() {
|
||||
}
|
||||
if !var.is_changed && var.is_mut && !p.pref.is_repl &&
|
||||
!p.pref.translated && var.typ != 'T*' &&
|
||||
p.mod != 'ui'
|
||||
p.mod != 'ui' && var.typ != 'App*'
|
||||
{
|
||||
p.error_with_token_index('`$var.name` is declared as mutable, but it was never changed', var.token_idx )
|
||||
}
|
||||
|
Reference in New Issue
Block a user