mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: fix unused variable warning
This commit is contained in:
parent
d569f23e1c
commit
7c802f31d3
@ -320,7 +320,7 @@ fn (p mut Parser) name_expr() string {
|
||||
new_f := f
|
||||
p.fn_call(mut new_f, 0, '', '')
|
||||
if f.is_generic {
|
||||
f2 := p.table.find_fn(f.name) or {
|
||||
_ = p.table.find_fn(f.name) or {
|
||||
return ''
|
||||
}
|
||||
// println('after call of generic instance $new_f.name(${new_f.str_args(p.table)}) $new_f.typ')
|
||||
|
Loading…
Reference in New Issue
Block a user