From 1e6f90481e59669374a20e5fff83dc05bbd701f7 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Wed, 26 Jun 2019 14:50:15 +0200 Subject: [PATCH] add make clean instruction --- compiler/parser.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/parser.v b/compiler/parser.v index cf1cbb8faa..4c5faab30a 100644 --- a/compiler/parser.v +++ b/compiler/parser.v @@ -660,9 +660,9 @@ fn (p mut Parser) error(s string) { println('\n====================') println('It looks like you are building V. It is being frequently updated every day.' + ' If you didn\'t modify the compiler\'s code, most likely there was a change that lead to this error. ') - println('Try to run `git pull`, that will most likely fix it.') + println('Try to run `git pull && make clean && make`, that will most likely fix it.') println('If `git pull` doesn\'t help, re-install V from source or download a precompiled' + - ' binary from https://vlang.io') + ' binary from https://vlang.io.') println('====================\n') } // p.scanner.debug_tokens()