From dc3101384f1e23ce38e70fc025689d7b5bfb1c46 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 4 Jul 2020 14:45:11 +0300 Subject: [PATCH] checker: cleanup indentation --- vlib/v/checker/checker.v | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/vlib/v/checker/checker.v b/vlib/v/checker/checker.v index 39a0e34b71..a160f0daab 100644 --- a/vlib/v/checker/checker.v +++ b/vlib/v/checker/checker.v @@ -928,10 +928,9 @@ pub fn (mut c Checker) call_method(mut call_expr ast.CallExpr) table.Type { if method_name == 'str' { call_expr.receiver_type = left_type call_expr.return_type = table.string_type - eprintln('method .str() call_expr.args.len: $call_expr.args.len') - if call_expr.args.len > 0 { - c.error('.str() method calls should have no arguments', call_expr.pos) - } + if call_expr.args.len > 0 { + c.error('.str() method calls should have no arguments', call_expr.pos) + } return table.string_type } // call struct field fn type