From e459e6d24a41529e857b1852da6bf970d3fec478 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 22 Feb 2020 12:57:16 +0100 Subject: [PATCH] checker: remove unnecessary exits --- vlib/v/checker/checker.v | 2 -- 1 file changed, 2 deletions(-) diff --git a/vlib/v/checker/checker.v b/vlib/v/checker/checker.v index bba19de42d..7e3f2e360a 100644 --- a/vlib/v/checker/checker.v +++ b/vlib/v/checker/checker.v @@ -195,7 +195,6 @@ pub fn (c mut Checker) check_method_call_expr(method_call_expr ast.MethodCallExp } } c.error('type `$typ_sym.name` has no method `$method_call_expr.name`', method_call_expr.pos) - exit(1) } pub fn (c mut Checker) selector_expr(selector_expr ast.SelectorExpr) table.Type { @@ -222,7 +221,6 @@ pub fn (c mut Checker) selector_expr(selector_expr ast.SelectorExpr) table.Type else { c.error('unknown field `${typ_sym.name}.$field_name`', selector_expr.pos) } - exit(0) } // TODO: non deferred