mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: minor cleanup in infer_fn_generic_types() (#17068)
This commit is contained in:
parent
b2dac566b0
commit
a929466130
@ -1010,7 +1010,7 @@ fn (mut c Checker) infer_fn_generic_types(func ast.Fn, mut node ast.CallExpr) {
|
||||
}
|
||||
if c.pref.is_verbose {
|
||||
s := c.table.type_to_str(typ)
|
||||
println('inferred `${func.name}<${s}>`')
|
||||
println('inferred `${func.name}[${s}]`')
|
||||
}
|
||||
inferred_types << c.unwrap_generic(typ)
|
||||
node.concrete_types << typ
|
||||
|
Loading…
Reference in New Issue
Block a user