checker: vfmt checker.v

pull/6368/head
Alexander Medvednikov 2020-09-13 16:21:40 +02:00
parent a160038e1a
commit 68948c7947
1 changed files with 1 additions and 2 deletions

View File

@ -1386,9 +1386,8 @@ pub fn (mut c Checker) call_fn(mut call_expr ast.CallExpr) table.Type {
// Passing an int or a string array produces a c error here
// Deleting this condition results in propper V error messages
// if arg_typ_sym.kind == .string && typ_sym.has_method('str') {
// continue
// continue
// }
if typ_sym.kind == .void && arg_typ_sym.kind == .string {
continue
}