1
0
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:
joe-conigliaro 2020-12-01 15:14:30 +11:00
parent 4f658ec292
commit 0e54b9acb5
No known key found for this signature in database
GPG Key ID: C12F7136C08206F1

View File

@ -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 {
// no type arguments given in call, attempt implicit instantiation
println('try infer for $f.name')
c.infer_fn_types(f, mut call_expr)
}
if call_expr.generic_type != table.void_type && f.return_type != 0 { // table.t_type {