checker: remove debug println introduced in 4f658ec

pull/7059/head
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
1 changed files with 0 additions and 1 deletions

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 {