From 333e725380072612659736fd91d07e89301569d2 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 6 Apr 2020 20:41:33 +0300 Subject: [PATCH] errors: remove 0 from caret line --- vlib/v/util/errors.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/util/errors.v b/vlib/v/util/errors.v index 433d0e91d5..16e675c210 100644 --- a/vlib/v/util/errors.v +++ b/vlib/v/util/errors.v @@ -101,7 +101,7 @@ pub fn formated_error(kind string /*error or warn*/, emsg string, filepath strin pointerline << if emanager.support_color { term.bold(term.blue('^')) } else { '^' } break } - clines << '${0:5d}| ' + pointerline.join('') + clines << ' ' + pointerline.join('') } } source_context += clines.join('\n')