compiler: use eprintln for cache diagnostic messages

pull/2404/head
pfefferminz132 2019-10-18 05:16:33 +02:00 committed by Alexander Medvednikov
parent 8d16762f03
commit eda0c73bef
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@ pub fn (v mut V) add_v_files_to_compile() {
mod_path := mod.replace('.', os.path_separator)
vh_path := '$v_modules_path${os.path_separator}vlib${os.path_separator}${mod_path}.vh'
if v.pref.is_cache && os.file_exists(vh_path) {
println('using cached module `$mod`: $vh_path')
eprintln('using cached module `$mod`: $vh_path')
v.cached_mods << mod
v.files << vh_path
continue