parser: fix unused variable warning

pull/2841/head
Unknown User 2019-11-22 03:23:01 +01:00 committed by Alexander Medvednikov
parent d569f23e1c
commit 7c802f31d3
1 changed files with 1 additions and 1 deletions

View File

@ -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')