1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

compiler: use eprintln for cache diagnostic messages

This commit is contained in:
pfefferminz132 2019-10-18 05:16:33 +02:00 committed by Alexander Medvednikov
parent 8d16762f03
commit eda0c73bef

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