mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
check unused and unmodified vars in all modules, not just main
This commit is contained in:
@ -265,7 +265,7 @@ fn (p mut Parser) comptime_method_call(typ Type) {
|
||||
p.check(.dollar)
|
||||
var := p.check_name()
|
||||
mut j := 0
|
||||
for i, method in typ.methods {
|
||||
for method in typ.methods {
|
||||
if method.typ != 'void' {
|
||||
|
||||
continue
|
||||
|
Reference in New Issue
Block a user