mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: remove debug println introduced in 4f658ec
This commit is contained in:
parent
4f658ec292
commit
0e54b9acb5
@ -1613,7 +1613,6 @@ pub fn (mut c Checker) call_fn(mut call_expr ast.CallExpr) table.Type {
|
|||||||
}
|
}
|
||||||
if f.is_generic && call_expr.generic_type == table.void_type {
|
if f.is_generic && call_expr.generic_type == table.void_type {
|
||||||
// no type arguments given in call, attempt implicit instantiation
|
// no type arguments given in call, attempt implicit instantiation
|
||||||
println('try infer for $f.name')
|
|
||||||
c.infer_fn_types(f, mut call_expr)
|
c.infer_fn_types(f, mut call_expr)
|
||||||
}
|
}
|
||||||
if call_expr.generic_type != table.void_type && f.return_type != 0 { // table.t_type {
|
if call_expr.generic_type != table.void_type && f.return_type != 0 { // table.t_type {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user